diff options
Diffstat (limited to 'tests/misc/df')
-rwxr-xr-x | tests/misc/df | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/misc/df b/tests/misc/df new file mode 100755 index 000000000..b1efe61ab --- /dev/null +++ b/tests/misc/df @@ -0,0 +1,17 @@ +#!/bin/sh +# Ensure that "df ." outputs a header. + +if test "$VERBOSE" = yes; then + set -x + df --version +fi + +case `df .` in +*' +'*) + fail=0;; +*) + fail=1;; +esac + +(exit $fail); exit $fail |