diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-07-27 20:15:12 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-07-27 20:15:12 -0400 |
commit | 3d76e707633b66e01791a0a09e38e91213b963c2 (patch) | |
tree | 104d297e4e85bf08b6a7decc3628691bec31df7e /tests/gnu | |
parent | c50d65cb1faca8e7632a355940381b517d2ac589 (diff) | |
download | bfs-3d76e707633b66e01791a0a09e38e91213b963c2.tar.xz |
tests: Add tests for invalid users/groups
Diffstat (limited to 'tests/gnu')
-rw-r--r-- | tests/gnu/gid.out | 19 | ||||
-rw-r--r-- | tests/gnu/gid.sh | 1 | ||||
-rw-r--r-- | tests/gnu/gid_minus.out | 19 | ||||
-rw-r--r-- | tests/gnu/gid_minus.sh | 1 | ||||
-rw-r--r-- | tests/gnu/gid_minus_plus.out | 19 | ||||
-rw-r--r-- | tests/gnu/gid_minus_plus.sh | 1 | ||||
-rw-r--r-- | tests/gnu/gid_plus.out | 19 | ||||
-rw-r--r-- | tests/gnu/gid_plus.sh | 2 | ||||
-rw-r--r-- | tests/gnu/gid_plus_plus.out | 19 | ||||
-rw-r--r-- | tests/gnu/gid_plus_plus.sh | 2 | ||||
-rw-r--r-- | tests/gnu/uid.out | 19 | ||||
-rw-r--r-- | tests/gnu/uid.sh | 1 | ||||
-rw-r--r-- | tests/gnu/uid_minus.out | 19 | ||||
-rw-r--r-- | tests/gnu/uid_minus.sh | 1 | ||||
-rw-r--r-- | tests/gnu/uid_minus_plus.out | 19 | ||||
-rw-r--r-- | tests/gnu/uid_minus_plus.sh | 1 | ||||
-rw-r--r-- | tests/gnu/uid_plus.out | 19 | ||||
-rw-r--r-- | tests/gnu/uid_plus.sh | 2 | ||||
-rw-r--r-- | tests/gnu/uid_plus_plus.out | 19 | ||||
-rw-r--r-- | tests/gnu/uid_plus_plus.sh | 2 |
20 files changed, 0 insertions, 204 deletions
diff --git a/tests/gnu/gid.out b/tests/gnu/gid.out deleted file mode 100644 index a7ccfe4..0000000 --- a/tests/gnu/gid.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/c/d -basic/e -basic/e/f -basic/g -basic/g/h -basic/i -basic/j -basic/j/foo -basic/k -basic/k/foo -basic/k/foo/bar -basic/l -basic/l/foo -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/gnu/gid.sh b/tests/gnu/gid.sh deleted file mode 100644 index 2707b4a..0000000 --- a/tests/gnu/gid.sh +++ /dev/null @@ -1 +0,0 @@ -bfs_diff basic -gid "$(id -g)" diff --git a/tests/gnu/gid_minus.out b/tests/gnu/gid_minus.out deleted file mode 100644 index a7ccfe4..0000000 --- a/tests/gnu/gid_minus.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/c/d -basic/e -basic/e/f -basic/g -basic/g/h -basic/i -basic/j -basic/j/foo -basic/k -basic/k/foo -basic/k/foo/bar -basic/l -basic/l/foo -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/gnu/gid_minus.sh b/tests/gnu/gid_minus.sh deleted file mode 100644 index e3822f0..0000000 --- a/tests/gnu/gid_minus.sh +++ /dev/null @@ -1 +0,0 @@ -bfs_diff basic -gid "-$(($(id -g) + 1))" diff --git a/tests/gnu/gid_minus_plus.out b/tests/gnu/gid_minus_plus.out deleted file mode 100644 index a7ccfe4..0000000 --- a/tests/gnu/gid_minus_plus.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/c/d -basic/e -basic/e/f -basic/g -basic/g/h -basic/i -basic/j -basic/j/foo -basic/k -basic/k/foo -basic/k/foo/bar -basic/l -basic/l/foo -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/gnu/gid_minus_plus.sh b/tests/gnu/gid_minus_plus.sh deleted file mode 100644 index 4ff0877..0000000 --- a/tests/gnu/gid_minus_plus.sh +++ /dev/null @@ -1 +0,0 @@ -bfs_diff basic -gid "-+$(($(id -g) + 1))" diff --git a/tests/gnu/gid_plus.out b/tests/gnu/gid_plus.out deleted file mode 100644 index a7ccfe4..0000000 --- a/tests/gnu/gid_plus.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/c/d -basic/e -basic/e/f -basic/g -basic/g/h -basic/i -basic/j -basic/j/foo -basic/k -basic/k/foo -basic/k/foo/bar -basic/l -basic/l/foo -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/gnu/gid_plus.sh b/tests/gnu/gid_plus.sh deleted file mode 100644 index ccba0e6..0000000 --- a/tests/gnu/gid_plus.sh +++ /dev/null @@ -1,2 +0,0 @@ -test "$(id -g)" -eq 0 && skip -bfs_diff basic -gid +0 diff --git a/tests/gnu/gid_plus_plus.out b/tests/gnu/gid_plus_plus.out deleted file mode 100644 index a7ccfe4..0000000 --- a/tests/gnu/gid_plus_plus.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/c/d -basic/e -basic/e/f -basic/g -basic/g/h -basic/i -basic/j -basic/j/foo -basic/k -basic/k/foo -basic/k/foo/bar -basic/l -basic/l/foo -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/gnu/gid_plus_plus.sh b/tests/gnu/gid_plus_plus.sh deleted file mode 100644 index ec7ae86..0000000 --- a/tests/gnu/gid_plus_plus.sh +++ /dev/null @@ -1,2 +0,0 @@ -test "$(id -g)" -eq 0 && skip -bfs_diff basic -gid ++0 diff --git a/tests/gnu/uid.out b/tests/gnu/uid.out deleted file mode 100644 index a7ccfe4..0000000 --- a/tests/gnu/uid.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/c/d -basic/e -basic/e/f -basic/g -basic/g/h -basic/i -basic/j -basic/j/foo -basic/k -basic/k/foo -basic/k/foo/bar -basic/l -basic/l/foo -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/gnu/uid.sh b/tests/gnu/uid.sh deleted file mode 100644 index fb3cd93..0000000 --- a/tests/gnu/uid.sh +++ /dev/null @@ -1 +0,0 @@ -bfs_diff basic -uid "$(id -u)" diff --git a/tests/gnu/uid_minus.out b/tests/gnu/uid_minus.out deleted file mode 100644 index a7ccfe4..0000000 --- a/tests/gnu/uid_minus.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/c/d -basic/e -basic/e/f -basic/g -basic/g/h -basic/i -basic/j -basic/j/foo -basic/k -basic/k/foo -basic/k/foo/bar -basic/l -basic/l/foo -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/gnu/uid_minus.sh b/tests/gnu/uid_minus.sh deleted file mode 100644 index 6d371f2..0000000 --- a/tests/gnu/uid_minus.sh +++ /dev/null @@ -1 +0,0 @@ -bfs_diff basic -uid "-$(($(id -u) + 1))" diff --git a/tests/gnu/uid_minus_plus.out b/tests/gnu/uid_minus_plus.out deleted file mode 100644 index a7ccfe4..0000000 --- a/tests/gnu/uid_minus_plus.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/c/d -basic/e -basic/e/f -basic/g -basic/g/h -basic/i -basic/j -basic/j/foo -basic/k -basic/k/foo -basic/k/foo/bar -basic/l -basic/l/foo -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/gnu/uid_minus_plus.sh b/tests/gnu/uid_minus_plus.sh deleted file mode 100644 index e7a0496..0000000 --- a/tests/gnu/uid_minus_plus.sh +++ /dev/null @@ -1 +0,0 @@ -bfs_diff basic -uid "-+$(($(id -u) + 1))" diff --git a/tests/gnu/uid_plus.out b/tests/gnu/uid_plus.out deleted file mode 100644 index a7ccfe4..0000000 --- a/tests/gnu/uid_plus.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/c/d -basic/e -basic/e/f -basic/g -basic/g/h -basic/i -basic/j -basic/j/foo -basic/k -basic/k/foo -basic/k/foo/bar -basic/l -basic/l/foo -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/gnu/uid_plus.sh b/tests/gnu/uid_plus.sh deleted file mode 100644 index 22b2c8e..0000000 --- a/tests/gnu/uid_plus.sh +++ /dev/null @@ -1,2 +0,0 @@ -test "$(id -u)" -eq 0 && skip -bfs_diff basic -uid +0 diff --git a/tests/gnu/uid_plus_plus.out b/tests/gnu/uid_plus_plus.out deleted file mode 100644 index a7ccfe4..0000000 --- a/tests/gnu/uid_plus_plus.out +++ /dev/null @@ -1,19 +0,0 @@ -basic -basic/a -basic/b -basic/c -basic/c/d -basic/e -basic/e/f -basic/g -basic/g/h -basic/i -basic/j -basic/j/foo -basic/k -basic/k/foo -basic/k/foo/bar -basic/l -basic/l/foo -basic/l/foo/bar -basic/l/foo/bar/baz diff --git a/tests/gnu/uid_plus_plus.sh b/tests/gnu/uid_plus_plus.sh deleted file mode 100644 index e021888..0000000 --- a/tests/gnu/uid_plus_plus.sh +++ /dev/null @@ -1,2 +0,0 @@ -test "$(id -u)" -eq 0 && skip -bfs_diff basic -uid ++0 |