Update and re-enable ACL tests following r332396 and r339781.

PR:		229930
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Mark Johnston 2018-10-26 19:03:30 +00:00
parent 10cb5344fd
commit 6951c4eebc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=339782
4 changed files with 9 additions and 11 deletions

View File

@ -14,11 +14,9 @@ ${PACKAGE}FILES+= tools-posix.test
SCRIPTS+= run
# Disable 00 and 02 until they've been updated for setfacl's new behavior
# PR 229930 tests/sys/acl/00:main fails in CI due to unexpected error message
# TAP_TESTS_SH+= 00
# TAP_TESTS_SH+= 02
TAP_TESTS_SH+= 00
TAP_TESTS_SH+= 01
TAP_TESTS_SH+= 02
TAP_TESTS_SH+= 03
TAP_TESTS_SH+= 04

View File

@ -186,7 +186,7 @@ $ ls -l xxx yyy zzz | cut -d' ' -f1
> -rw-r--r--
$ setfacl -m u:42:x:allow,g:43:w:allow nnn xxx yyy zzz
> setfacl: nnn: stat() failed: No such file or directory
> setfacl: nnn: acl_get_file() failed: No such file or directory
$ ls -l nnn xxx yyy zzz | cut -d' ' -f1
> ls: nnn: No such file or directory
@ -215,7 +215,7 @@ $ getfacl -nq nnn xxx yyy zzz
> everyone@:r-----a-R-c--s:-------:allow
$ setfacl -b nnn xxx yyy zzz
> setfacl: nnn: stat() failed: No such file or directory
> setfacl: nnn: acl_get_file() failed: No such file or directory
$ ls -l nnn xxx yyy zzz | cut -d' ' -f1
> ls: nnn: No such file or directory

View File

@ -214,7 +214,7 @@ $ ls -l xxx yyy zzz | cut -d' ' -f1
> -rw-r--r--
$ setfacl -m u:42:x:allow,g:43:w:allow nnn xxx yyy zzz
> setfacl: nnn: stat() failed: No such file or directory
> setfacl: nnn: acl_get_file() failed: No such file or directory
$ ls -l nnn xxx yyy zzz | cut -d' ' -f1
> ls: nnn: No such file or directory
@ -252,7 +252,7 @@ $ getfacl -nq nnn xxx yyy zzz
> everyone@:r-----a-R-c--s:-------:allow
$ setfacl -b nnn xxx yyy zzz
> setfacl: nnn: stat() failed: No such file or directory
> setfacl: nnn: acl_get_file() failed: No such file or directory
$ ls -l nnn xxx yyy zzz | cut -d' ' -f1
> ls: nnn: No such file or directory

View File

@ -226,7 +226,7 @@ $ ls -l xxx yyy zzz | cut -d' ' -f1
> -rw-r--r--
$ setfacl -m u:42:x,g:43:w nnn xxx yyy zzz
> setfacl: nnn: stat() failed: No such file or directory
> setfacl: nnn: acl_get_file() failed: No such file or directory
$ ls -l nnn xxx yyy zzz | cut -d' ' -f1
> ls: nnn: No such file or directory
@ -258,7 +258,7 @@ $ getfacl -nq nnn xxx yyy zzz
> other::r--
$ setfacl -b nnn xxx yyy zzz
> setfacl: nnn: stat() failed: No such file or directory
> setfacl: nnn: acl_get_file() failed: No such file or directory
$ ls -l nnn xxx yyy zzz | cut -d' ' -f1
> ls: nnn: No such file or directory
@ -267,7 +267,7 @@ $ ls -l nnn xxx yyy zzz | cut -d' ' -f1
> -rw-r--r--+
$ setfacl -bn nnn xxx yyy zzz
> setfacl: nnn: stat() failed: No such file or directory
> setfacl: nnn: acl_get_file() failed: No such file or directory
$ ls -l nnn xxx yyy zzz | cut -d' ' -f1
> ls: nnn: No such file or directory