A broken OS check was causing a few tests that were supposed to be
skipped on MacOS, Hurd, and FreeBSD systems to be always skipped.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
CONF=$TMPFILE.conf
os=$(uname -s)
CONF=$TMPFILE.conf
os=$(uname -s)
-if [ "$os" = "Darwin" -o "$os" = "GNU" -o "FreeBSD" ]; then
+if [ "$os" = "Darwin" -o "$os" = "GNU" -o "$os" = "FreeBSD" ]; then
# creates a 44GB filesystem
echo "$test_name: $test_description: skipped for $os"
return 0
# creates a 44GB filesystem
echo "$test_name: $test_description: skipped for $os"
return 0
E2FSCK=../e2fsck/e2fsck
os=$(uname -s)
E2FSCK=../e2fsck/e2fsck
os=$(uname -s)
-if [ "$os" = "Darwin" -o "$os" = "GNU" -o "FreeBSD" ]; then
+if [ "$os" = "Darwin" -o "$os" = "GNU" -o "$os" = "FreeBSD" ]; then
# creates a 2TB filesystem
echo "$test_name: $test_description: skipped for $os"
return 0
# creates a 2TB filesystem
echo "$test_name: $test_description: skipped for $os"
return 0
RESIZE2FS_OPTS=-f
os=$(uname -s)
RESIZE2FS_OPTS=-f
os=$(uname -s)
-if [ "$os" = "Darwin" -o "$os" = "GNU" -o "FreeBSD" ]; then
+if [ "$os" = "Darwin" -o "$os" = "GNU" -o "$os" = "FreeBSD" ]; then
# creates a 2TB filesystem
echo "$test_name: $test_description: skipped for $os"
return 0
# creates a 2TB filesystem
echo "$test_name: $test_description: skipped for $os"
return 0
E2FSCK=../e2fsck/e2fsck
os=$(uname -s)
E2FSCK=../e2fsck/e2fsck
os=$(uname -s)
-if [ "$os" = "Darwin" -o "$os" = "GNU" -o "FreeBSD" ]; then
+if [ "$os" = "Darwin" -o "$os" = "GNU" -o "$os" = "FreeBSD" ]; then
# creates a 2TB filesystem
# creates a 2TB filesystem
- echo "$test_name: $test_description: skipped for FreeBSD"
+ echo "$test_name: $test_description: skipped for $os"
-if [ "$os" = "Darwin" -o "$os" = "GNU" -o "FreeBSD" ]; then
+if [ "$os" = "Darwin" -o "$os" = "GNU" -o "$os" = "FreeBSD" ]; then
# creates a 96GB filesystem
echo "$test_name: $test_description: skipped for $os"
return 0
# creates a 96GB filesystem
echo "$test_name: $test_description: skipped for $os"
return 0