From 6f6599a006e08c0e7a0825f1f059fde66d2847b5 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 18 Aug 2009 17:53:20 +0200 Subject: 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. --- tests/misc/stdbuf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/misc/stdbuf') diff --git a/tests/misc/stdbuf b/tests/misc/stdbuf index 5ce2c1189..a9aed43d5 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 -- cgit v1.2.3-54-g00ecf