]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: fix regex in run-integration-tests.sh
authorLuca Boccassi <bluca@debian.org>
Sat, 19 Dec 2020 18:42:20 +0000 (18:42 +0000)
committerLuca Boccassi <bluca@debian.org>
Sat, 19 Dec 2020 21:56:57 +0000 (21:56 +0000)
The regex results in calls of "make setup run -again" which is broken

test/run-integration-tests.sh

index 2d3f0ee94f4ded8bc8ae36ed609d74e08c8faa8d..3c01adfca3b82c157b70fac80b22d563be9ceb73 100755 (executable)
@@ -7,7 +7,7 @@ if [ $# -gt 0 ]; then
 else
     args="setup run clean-again"
 fi
-args_no_clean=$(sed -r 's/\bclean\b//g' <<<$args)
+args_no_clean=$(sed -r 's/\bclean.*\b//g' <<<$args)
 do_clean=$( [ "$args" = "$args_no_clean" ]; echo $? )
 
 ninja -C "$BUILD_DIR"