diff options
author | Jim Meyering <meyering@redhat.com> | 2009-08-18 17:53:20 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-08-18 17:53:20 +0200 |
commit | 6f6599a006e08c0e7a0825f1f059fde66d2847b5 (patch) | |
tree | 78e8e1a1e898fbfb07b2750e2ca511bf2fe036d4 /tests | |
parent | d25101cc306f9fba8e30ee739ceb1982434367f6 (diff) | |
download | coreutils-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.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/misc/stdbuf | 6 |
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 |