diff options
author | Serge Hallyn <serge@hallyn.com> | 2023-02-24 21:26:01 -0600 |
---|---|---|
committer | Serge Hallyn <serge@hallyn.com> | 2023-02-24 21:46:29 -0600 |
commit | 4445cee19d95595afd97043888e0eb1a30ef6089 (patch) | |
tree | f97e45b9d5c2bdcec79fec0eb067c5dbe59dad73 | |
parent | aa15bc445e4601f8b180b659d94f45fd9a6d5581 (diff) |
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 <serge@hallyn.com>
-rwxr-xr-x | tests/newgidmap/01_newgidmap/newgidmap.test | 2 | ||||
-rwxr-xr-x | tests/newuidmap/01_newuidmap/newuidmap.test | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/newgidmap/01_newgidmap/newgidmap.test b/tests/newgidmap/01_newgidmap/newgidmap.test index 03b7fdbd..76826623 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 bf870fb7..5ab31223 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" |