From: Karel Zak Date: Mon, 25 Nov 2019 13:09:38 +0000 (+0100) Subject: tests: another prompt fix X-Git-Tag: v2.35-rc1~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=52722cda11e1955e14486cb53f21e24e17d1d9b0;p=thirdparty%2Futil-linux.git tests: another prompt fix Signed-off-by: Karel Zak --- diff --git a/tests/ts/script/replay b/tests/ts/script/replay index edb725c366..cf8a9f07b5 100755 --- a/tests/ts/script/replay +++ b/tests/ts/script/replay @@ -91,7 +91,7 @@ NUMBER=123 $TS_CMD_SCRIPTLIVE \ --command 'sh' \ --log-in "$LOG_IN_FILE" \ --log-timing "$TIMING_FILE" >> $TS_OUTPUT 2>> $TS_ERRLOG -sed -i 's/sh-[[:alnum:]\.\$\#]*/prompt>/g' $TS_OUTPUT +sed -i 's/^[[:alnum:][:punct:][:blank:]]*[\$\#] /prompt> /g' $TS_OUTPUT ts_finalize_subtest ts_finalize