summaryrefslogtreecommitdiff
path: root/tests/misc/stdbuf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/stdbuf')
-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