2 # 4.1.1 and 4.1.2 had a bug whereby some recursive listings
3 # didn't include a blank line between per-directory groups of files.
5 if test "$VERBOSE" = yes; then
10 .
$srcdir/..
/envvar-check
14 trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0
15 trap '(exit $?); exit' 1 2 13 15
18 mkdir
$tmp || framework_failure
=1
19 cd $tmp || framework_failure
=1
21 mkdir x y a b c a
/1 a
/2 a
/3 || framework_failure
=1
22 touch f a
/1/I a
/1/II || framework_failure
=1
24 if test $framework_failure = 1; then
25 echo "$0: failure in testing framework" 1>&2
31 # This first example is from Andreas Schwab's bug report.
32 ls -R1 a b c
> out || fail
=1
53 test $fail = 1 && diff out exp
2> /dev
/null
56 ls -R1 x y f
> out || fail
=1
66 test $fail = 1 && diff out exp
2> /dev
/null