From 3b387d81e63893ed3fe3b45e3721fbcfb1c5dde0 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 19 Oct 2022 10:29:05 -0400 Subject: tests: Split test cases into separate files --- tests/posix/depth_error.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/posix/depth_error.sh (limited to 'tests/posix/depth_error.sh') diff --git a/tests/posix/depth_error.sh b/tests/posix/depth_error.sh new file mode 100644 index 0000000..9acf976 --- /dev/null +++ b/tests/posix/depth_error.sh @@ -0,0 +1,11 @@ +rm -rf scratch/* +touchp scratch/foo/bar +chmod a-r scratch/foo + +bfs_diff scratch -depth +ret=$? + +chmod +r scratch/foo +rm -rf scratch/* + +[ $ret -eq $EX_BFS ] -- cgit v1.2.3