]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
tests: fix tests that were always being skipped
authorTheodore Ts'o <tytso@mit.edu>
Sat, 27 Apr 2024 17:35:09 +0000 (13:35 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 27 Apr 2024 23:59:40 +0000 (19:59 -0400)
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>
tests/m_hugefile/script
tests/r_64bit_big_expand/script
tests/r_bigalloc_big_expand/script
tests/r_ext4_big_expand/script
tests/r_move_itable_nostride/script

index fc1d1155b6c87cc6f49af4c41f66fc50fb4bffae..3af45035bae1cf51f46d8f2ac033f4e087cba2e1 100644 (file)
@@ -4,7 +4,7 @@ EXP=$test_dir/expect
 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
index d1bf8cdbbb8d3d22db7b1b2847b8b45e65e1eae1..147cf9b0624c1677d5c3a2583830ff528b5b06d3 100644 (file)
@@ -11,7 +11,7 @@ LOG=$test_name.log
 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
index 101aafba0e9128fe3b7e930d051216652dfaaaa6..bd4217825a658ace390897b121b01dce6d91fdc8 100644 (file)
@@ -12,7 +12,7 @@ E2FSCK=../e2fsck/e2fsck
 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
index a49e4c3a251965fe1d2999706c819e052fe8c753..4b0016c64c6be7b09838f605c76831f5737395ff 100644 (file)
@@ -11,9 +11,9 @@ LOG=$test_name.log
 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 FreeBSD"
+       echo "$test_name: $test_description: skipped for $os"
        return 0
 fi
 
index d24df22a6fa3463706f258d3d2ec6e5b0976442f..1246e1a4d2309905f1dcae6112b035e0762f6db7 100644 (file)
@@ -1,5 +1,5 @@
 os=$(uname -s)
-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