From: Serge Hallyn Date: Sat, 25 Feb 2023 03:26:01 +0000 (-0600) Subject: tests: newuidmap and newgidmap: update expected fail message X-Git-Tag: 4.14.0-rc1~147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4445cee19d95595afd97043888e0eb1a30ef6089;p=thirdparty%2Fshadow.git tests: newuidmap and newgidmap: update expected fail message The failure message got changed, but the tests looking for it did not. Signed-off-by: Serge Hallyn --- diff --git a/tests/newgidmap/01_newgidmap/newgidmap.test b/tests/newgidmap/01_newgidmap/newgidmap.test index 03b7fdbdf..768266231 100755 --- a/tests/newgidmap/01_newgidmap/newgidmap.test +++ b/tests/newgidmap/01_newgidmap/newgidmap.test @@ -51,7 +51,7 @@ test "status" != 0 echo "OK" echo -n "Check that there were a failure message... " -grep -q 'newgidmap: Target [0-9]* is owned by a different' /tmp/test-gidmap/newgidmap.err +grep -q 'newgidmap: Target process is owned by a different' /tmp/test-gidmap/newgidmap.err echo "error message OK." log_status "$0" "SUCCESS" diff --git a/tests/newuidmap/01_newuidmap/newuidmap.test b/tests/newuidmap/01_newuidmap/newuidmap.test index bf870fb77..5ab31223e 100755 --- a/tests/newuidmap/01_newuidmap/newuidmap.test +++ b/tests/newuidmap/01_newuidmap/newuidmap.test @@ -51,7 +51,7 @@ test "status" != 0 echo "OK" echo -n "Check that there were a failure message... " -grep -q 'newuidmap: Target process [0-9]* is owned by a different' /tmp/test-uidmap/newuidmap.err +grep -q 'newuidmap: Target process is owned by a different' /tmp/test-uidmap/newuidmap.err echo "error message OK." log_status "$0" "SUCCESS"