Files
apfstests/tests/generic/193.out
T
Tomas Racek 774f4dd775 xfstests: unify apostrophes in output files
With coreutils v8.16 the style of apostrophes changed from `word' to
'word'. This is breaking some tests which use the older form.

This commit introduces function changes the golden output of the
affected tests and introduces a filter for the older style output.

[dchinner: modified to use a global filter in check rather than
per-test filters]
[rjohnston: minor comment change]

Signed-off-by: Tomas Racek <tracek@redhat.com>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
2013-10-16 14:58:28 -05:00

65 lines
1.9 KiB
Plaintext

QA output created by 193
testing ATTR_UID
user: chown root owned file to qa_user (should fail)
chown: changing ownership of 'test.root': Operation not permitted
user: chown root owned file to root (should fail)
chown: changing ownership of 'test.root': Operation not permitted
user: chown qa_user owned file to qa_user (should succeed)
user: chown qa_user owned file to root (should fail)
chown: changing ownership of 'test.user': Operation not permitted
testing ATTR_GID
user: chgrp root owned file to root (should fail)
chgrp: changing group of 'test.root': Operation not permitted
user: chgrp qa_user owned file to root (should fail)
chgrp: changing group of 'test.user': Operation not permitted
user: chgrp root owned file to qa_user (should fail)
chgrp: changing group of 'test.root': Operation not permitted
user: chgrp qa_user owned file to qa_user (should succeed)
testing ATTR_MODE
user: chmod a+r on qa_user owned file (should succeed)
user: chmod a+r on root owned file (should fail)
chmod: changing permissions of 'test.root': Operation not permitted
check that the sgid bit is cleared
-rw-rw-rw-
check that suid bit is not cleared
-rwSrw-rw-
check that suid/sgid bits are cleared after successful chown...
with no exec perm
before: -rwSr-Sr--
after: -rw-r-Sr--
with user exec perm
before: -rwsr-Sr--
after: -rwxr-Sr--
with group exec perm
before: -rwSr-sr--
after: -rw-r-xr--
with user+group exec perm
before: -rwsr-sr--
after: -rwxr-xr--
check that suid/sgid bits are cleared after successful truncate...
with no exec perm
before: -rwSr-Sr--
after: -rw-r-Sr--
with user exec perm
before: -rwsr-Sr--
after: -rwxr-Sr--
with group exec perm
before: -rwSr-sr--
after: -rw-r-xr--
with user+group exec perm
before: -rwsr-sr--
after: -rwxr-xr--
testing ATTR_*TIMES_SET
user: touch qa_user file (should succeed)
user: touch root file (should fail)
touch: cannot touch 'test.root': Permission denied
*** done