From: Luca Boccassi Date: Sat, 19 Dec 2020 18:42:20 +0000 (+0000) Subject: test: fix regex in run-integration-tests.sh X-Git-Tag: v248-rc1~462^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=92fa741cf2824f47a1ad81dd6d2f08d7f0266272;p=thirdparty%2Fsystemd.git test: fix regex in run-integration-tests.sh The regex results in calls of "make setup run -again" which is broken --- diff --git a/test/run-integration-tests.sh b/test/run-integration-tests.sh index 2d3f0ee94f4..3c01adfca3b 100755 --- a/test/run-integration-tests.sh +++ b/test/run-integration-tests.sh @@ -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"