aboutgitcodebugslistschat
path: root/test/run
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-05-17 14:18:41 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-05-19 15:24:15 +0200
commitb4d41ac4b6992d76af162c77a9414d12b6e39f21 (patch)
treeaeea6f74fa9fbb12d350d205c54ed93c8b78770a /test/run
parentcfa8a78a39e2a9c04ca85cbd5b9790c9caedc752 (diff)
downloadpasst-b4d41ac4b6992d76af162c77a9414d12b6e39f21.tar
passt-b4d41ac4b6992d76af162c77a9414d12b6e39f21.tar.gz
passt-b4d41ac4b6992d76af162c77a9414d12b6e39f21.tar.bz2
passt-b4d41ac4b6992d76af162c77a9414d12b6e39f21.tar.lz
passt-b4d41ac4b6992d76af162c77a9414d12b6e39f21.tar.xz
passt-b4d41ac4b6992d76af162c77a9414d12b6e39f21.tar.zst
passt-b4d41ac4b6992d76af162c77a9414d12b6e39f21.zip
test/run: Return 0 from run(), exit value already reflects failures
There's no need to return non-zero if there have been failures in run(), because the exit value is already determined from the number of failures reported in the log file. Return zero, so that this doesn't cause the script to fail, given we now run it with -e. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/run')
-rwxr-xr-xtest/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run b/test/run
index 737fa81..d9e5107 100755
--- a/test/run
+++ b/test/run
@@ -110,7 +110,7 @@ run() {
"Interrupted, press any key to quit" \
9
- return ${STATUS_FAIL}
+ return 0
}
# demo() - Simpler path for demo purposes