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/gnu/L_delete.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/gnu/L_delete.sh (limited to 'tests/gnu/L_delete.sh') diff --git a/tests/gnu/L_delete.sh b/tests/gnu/L_delete.sh new file mode 100644 index 0000000..08f39af --- /dev/null +++ b/tests/gnu/L_delete.sh @@ -0,0 +1,9 @@ +rm -rf scratch/* +mkdir scratch/foo +mkdir scratch/bar +ln -s ../foo scratch/bar/baz + +# Don't try to rmdir() a symlink +invoke_bfs -L scratch/bar -delete || return 1 + +bfs_diff scratch -- cgit v1.2.3