From 3d76e707633b66e01791a0a09e38e91213b963c2 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 27 Jul 2024 20:15:12 -0400 Subject: tests: Add tests for invalid users/groups --- tests/posix/group_invalid_id.sh | 1 + tests/posix/group_invalid_name.sh | 1 + tests/posix/user_invalid_id.sh | 1 + tests/posix/user_invalid_name.sh | 1 + 4 files changed, 4 insertions(+) create mode 100644 tests/posix/group_invalid_id.sh create mode 100644 tests/posix/group_invalid_name.sh create mode 100644 tests/posix/user_invalid_id.sh create mode 100644 tests/posix/user_invalid_name.sh (limited to 'tests/posix') diff --git a/tests/posix/group_invalid_id.sh b/tests/posix/group_invalid_id.sh new file mode 100644 index 0000000..1a89747 --- /dev/null +++ b/tests/posix/group_invalid_id.sh @@ -0,0 +1 @@ +! invoke_bfs -group 1eW6f5RM9Qi diff --git a/tests/posix/group_invalid_name.sh b/tests/posix/group_invalid_name.sh new file mode 100644 index 0000000..a08dc72 --- /dev/null +++ b/tests/posix/group_invalid_name.sh @@ -0,0 +1 @@ +! invoke_bfs -group eW6f5RM9Qi diff --git a/tests/posix/user_invalid_id.sh b/tests/posix/user_invalid_id.sh new file mode 100644 index 0000000..c378f7e --- /dev/null +++ b/tests/posix/user_invalid_id.sh @@ -0,0 +1 @@ +! invoke_bfs -user 1eW6f5RM9Qi diff --git a/tests/posix/user_invalid_name.sh b/tests/posix/user_invalid_name.sh new file mode 100644 index 0000000..bbf3031 --- /dev/null +++ b/tests/posix/user_invalid_name.sh @@ -0,0 +1 @@ +! invoke_bfs -user eW6f5RM9Qi -- cgit v1.2.3