]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
test/TEST-0[34] remove qemu return check
authorHarald Hoyer <harald@redhat.com>
Mon, 2 Mar 2020 13:40:16 +0000 (14:40 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 2 Mar 2020 13:42:27 +0000 (14:42 +0100)
remove check of qemu return code $?

seems like it randomly returns with != 0

test/TEST-03-USR-MOUNT/test.sh
test/TEST-04-FULL-SYSTEMD/test.sh

index cdf71838e40a2a61aa80876cbd3142ce30a2ad35..5de7f4a13b725cd7f8f8a82ca2a62ec85623aa40 100755 (executable)
@@ -22,11 +22,6 @@ client_run() {
         -append "panic=1 systemd.crash_reboot root=LABEL=dracut $client_opts quiet rd.retry=3 rd.info console=ttyS0,115200n81 selinux=0 rd.debug rd.shell=0 $DEBUGFAIL" \
         -initrd $TESTDIR/initramfs.testing
 
-    if (($? != 0)); then
-        echo "CLIENT TEST END: $test_name [FAILED - BAD EXIT]"
-        return 1
-    fi
-
     if ! grep -F -m 1 -q dracut-root-block-success $TESTDIR/result; then
         echo "CLIENT TEST END: $test_name [FAILED]"
         return 1
index a7b996000f55edd9bb600a6637fc45394e221edd..77d3a7ff153a838b0ab776aed6c7e33f2e09b0f5 100755 (executable)
@@ -23,11 +23,6 @@ client_run() {
         -append "panic=1 systemd.crash_reboot root=LABEL=dracut $client_opts rd.retry=3 console=ttyS0,115200n81 selinux=0 $DEBUGOUT rd.shell=0 $DEBUGFAIL" \
         -initrd $TESTDIR/initramfs.testing
 
-    if (($? != 0)); then
-        echo "CLIENT TEST END: $test_name [FAILED - BAD EXIT]"
-        return 1
-    fi
-
     if ! grep -F -m 1 -q dracut-root-block-success $TESTDIR/result; then
         echo "CLIENT TEST END: $test_name [FAILED]"
         return 1