diff options
author | Theodore Ts'o <tytso@mit.edu> | 2024-04-27 13:35:09 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2024-04-27 19:59:40 -0400 |
commit | 1ef9af435725cbf66f2edf5d7b2868b1c8b5d73d (patch) | |
tree | 2f06c301af346b6b697f8a8e93621a64cf6cafc2 | |
parent | ef75d20384cd38597368464b0c2246e2b5c23ad1 (diff) | |
download | e2fsprogs-1ef9af435725cbf66f2edf5d7b2868b1c8b5d73d.tar.gz |
tests: fix tests that were always being skipped
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>
-rw-r--r-- | tests/m_hugefile/script | 2 | ||||
-rw-r--r-- | tests/r_64bit_big_expand/script | 2 | ||||
-rw-r--r-- | tests/r_bigalloc_big_expand/script | 2 | ||||
-rw-r--r-- | tests/r_ext4_big_expand/script | 4 | ||||
-rw-r--r-- | tests/r_move_itable_nostride/script | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/tests/m_hugefile/script b/tests/m_hugefile/script index fc1d1155b..3af45035b 100644 --- a/tests/m_hugefile/script +++ b/tests/m_hugefile/script @@ -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 diff --git a/tests/r_64bit_big_expand/script b/tests/r_64bit_big_expand/script index d1bf8cdbb..147cf9b06 100644 --- a/tests/r_64bit_big_expand/script +++ b/tests/r_64bit_big_expand/script @@ -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 diff --git a/tests/r_bigalloc_big_expand/script b/tests/r_bigalloc_big_expand/script index 101aafba0..bd4217825 100644 --- a/tests/r_bigalloc_big_expand/script +++ b/tests/r_bigalloc_big_expand/script @@ -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 diff --git a/tests/r_ext4_big_expand/script b/tests/r_ext4_big_expand/script index a49e4c3a2..4b0016c64 100644 --- a/tests/r_ext4_big_expand/script +++ b/tests/r_ext4_big_expand/script @@ -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 diff --git a/tests/r_move_itable_nostride/script b/tests/r_move_itable_nostride/script index d24df22a6..1246e1a4d 100644 --- a/tests/r_move_itable_nostride/script +++ b/tests/r_move_itable_nostride/script @@ -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 |