]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: stdbuf: fix a bug in test script
authorJim Meyering <meyering@redhat.com>
Tue, 18 Aug 2009 15:53:20 +0000 (17:53 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 18 Aug 2009 15:53:20 +0000 (17:53 +0200)
* tests/misc/stdbuf: Use skip_test_ only after it's defined.
Reported by Berhnard Voelker.

(sc_check-AUTHORS): Rename rule from check-AUTHORS.

tests/misc/stdbuf

index 5ce2c1189487a5feb8b5ff502aeeb1a57b0802c9..a9aed43d5910a6406a497c6f84a153de761cde5f 100755 (executable)
@@ -21,15 +21,15 @@ if test "$VERBOSE" = yes; then
   stdbuf --version
 fi
 
+. $srcdir/test-lib.sh
+getlimits_
+
 # skip this test if stdbuf isn't being built.
 case " $built_programs " in
   *" stdbuf "*) ;;
   *) skip_test_ 'stdbuf not built';;
 esac
 
-. $srcdir/test-lib.sh
-getlimits_
-
 # Use a fifo rather than a pipe in the tests below
 # so that the producer (uniq) will wait until the
 # consumer (dd) opens the fifo therefore increasing