Added comments in failure message for test_chown

This commit is contained in:
Takeshi Nakatani 2016-09-11 13:28:40 +00:00
parent 1a96f40a10
commit f363c21ff5

View File

@ -207,7 +207,7 @@ function test_chown {
# if they're the same, we have a problem. # if they're the same, we have a problem.
if [ $(stat --format=%u:%g $TEST_TEXT_FILE) == $ORIGINAL_PERMISSIONS ] if [ $(stat --format=%u:%g $TEST_TEXT_FILE) == $ORIGINAL_PERMISSIONS ]
then then
echo "Could not modify $TEST_TEXT_FILE ownership" echo "Could not modify $TEST_TEXT_FILE ownership($ORIGINAL_PERMISSIONS to 1000:1000)"
return 1 return 1
fi fi