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:
parent
aa15bc445e
commit
4445cee19d
@ -51,7 +51,7 @@ test "status" != 0
|
|||||||
echo "OK"
|
echo "OK"
|
||||||
|
|
||||||
echo -n "Check that there were a failure message... "
|
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."
|
echo "error message OK."
|
||||||
log_status "$0" "SUCCESS"
|
log_status "$0" "SUCCESS"
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ test "status" != 0
|
|||||||
echo "OK"
|
echo "OK"
|
||||||
|
|
||||||
echo -n "Check that there were a failure message... "
|
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."
|
echo "error message OK."
|
||||||
log_status "$0" "SUCCESS"
|
log_status "$0" "SUCCESS"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user