diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-02-14 16:56:36 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-02-14 16:56:36 -0500 |
commit | 9cba8770a2f08457735556b480164fcea2853de8 (patch) | |
tree | a61c3d48de40029d189cd598bfffd6ebae709f92 /tests.sh | |
parent | 30d7fa271c1b0a2fdcc9ae4123c902a72aa4b926 (diff) | |
download | bfs-9cba8770a2f08457735556b480164fcea2853de8.tar.xz |
Implement -user and -group.
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -239,7 +239,23 @@ function test_0042() { find_diff -L "$links" -lname '[AQ]' 2>/dev/null } -for i in {1..42}; do +function test_0043() { + find_diff -L "$basic" -user "$(id -un)" +} + +function test_0044() { + find_diff -L "$basic" -user "$(id -u)" +} + +function test_0045() { + find_diff -L "$basic" -group "$(id -gn)" +} + +function test_0046() { + find_diff -L "$basic" -group "$(id -g)" +} + +for i in {1..46}; do test="test_$(printf '%04d' $i)" "$test" "$dir" status=$? |