From: Jim Meyering Date: Tue, 18 Aug 2009 15:53:20 +0000 (+0200) Subject: tests: stdbuf: fix a bug in test script X-Git-Tag: v7.5~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6f6599a006e08c0e7a0825f1f059fde66d2847b5;p=thirdparty%2Fcoreutils.git tests: stdbuf: fix a bug in test script * tests/misc/stdbuf: Use skip_test_ only after it's defined. Reported by Berhnard Voelker. (sc_check-AUTHORS): Rename rule from check-AUTHORS. --- diff --git a/tests/misc/stdbuf b/tests/misc/stdbuf index 5ce2c11894..a9aed43d59 100755 --- a/tests/misc/stdbuf +++ b/tests/misc/stdbuf @@ -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