summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-18 17:53:20 +0200
committerJim Meyering <meyering@redhat.com>2009-08-18 17:53:20 +0200
commit6f6599a006e08c0e7a0825f1f059fde66d2847b5 (patch)
tree78e8e1a1e898fbfb07b2750e2ca511bf2fe036d4
parentd25101cc306f9fba8e30ee739ceb1982434367f6 (diff)
downloadcoreutils-6f6599a006e08c0e7a0825f1f059fde66d2847b5.tar.xz
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.
-rwxr-xr-xtests/misc/stdbuf6
1 files changed, 3 insertions, 3 deletions
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