From 9f1863d45fe596e258596a4b4cc9a4064bcb11d3 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 4 Feb 2017 21:03:59 -0500 Subject: Implement -nouser and -nogroup --- tests.sh | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index 06d319f..5a7e650 100755 --- a/tests.sh +++ b/tests.sh @@ -787,9 +787,26 @@ function test_0127() { bfs_diff basic -inum "$inode" } +function test_0127() { + [ "$BSD" -o "$GNU" ] || return 0 + + local inode="$(ls -id basic/k/foo/bar | cut -f1 -d' ')" + bfs_diff basic -inum "$inode" +} + +function test_0128() { + [ "$BSD" -o "$GNU" ] || return 0 + bfs_diff basic -nogroup +} + +function test_0129() { + [ "$BSD" -o "$GNU" ] || return 0 + bfs_diff basic -nouser +} + result=0 -for i in {1..127}; do +for i in {1..129}; do test="test_$(printf '%04d' $i)" if [ -t 1 ]; then -- cgit v1.2.3