diff options
author | Theodore Ts'o <tytso@mit.edu> | 2022-11-30 11:47:30 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-11-30 11:47:30 -0500 |
commit | 142ba16597b7f815512c0ebb4c70078dfc7c2dd9 (patch) | |
tree | 77bc31ea083c1d31c6a5e7d2ee44547ad90bb346 | |
parent | 111757c2a37276f59da4c2ac99472e75d2ba695d (diff) | |
download | xfstests-bld-142ba16597b7f815512c0ebb4c70078dfc7c2dd9.tar.gz |
selftests: fix testing of the qemu test appliance
A "return" statement was adding during the development wasn't removed
before checking in the script, which bypassed testing using
kvm-xfstests.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rwxr-xr-x | selftests/appliance | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/selftests/appliance b/selftests/appliance index 7d5f7402..4bb78511 100755 --- a/selftests/appliance +++ b/selftests/appliance @@ -66,7 +66,6 @@ build_appliance () -c ext4/4k,btrfs/4k generic/001 btrfs/001 btrfs/064 GCE_TEST_VMS="$GCE_TEST_VMS $DATECODE-$ARCH" fi - return if test -n "$SKIP_ARM_QEMU_TEST" -a "$ARCH" = arm64; then return fi @@ -74,7 +73,7 @@ build_appliance () $NO_ACTION kvm-xfstests --arch $ARCH -c ext4/4k generic/001 --kernel $KERNEL \ --testrunid test.$DATECODE if test -z "$NO_ACTION" ; then - if test! -f "$LOGFILE" ; then + if ! test -f "$LOGFILE" ; then echo "Failed to find logfile $LOGFILE" exit 1 fi |