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>
This commit is contained in:
Serge Hallyn 2023-02-24 21:26:01 -06:00
parent aa15bc445e
commit 4445cee19d
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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"