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, 6 insertions, 0 deletions
diff --git a/tests/misc/stdbuf b/tests/misc/stdbuf
index 30aa5898e..5ce2c1189 100755
--- a/tests/misc/stdbuf
+++ b/tests/misc/stdbuf
@@ -21,6 +21,12 @@ if test "$VERBOSE" = yes; then
stdbuf --version
fi
+# 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_