From 99a362d04b507c7c0436c06f087f3d0d3abdc665 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 28 Mar 2024 10:16:03 -0400 Subject: tests/common: Add a -delete error handling test --- tests/common/delete_error.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/common/delete_error.sh (limited to 'tests/common/delete_error.sh') diff --git a/tests/common/delete_error.sh b/tests/common/delete_error.sh new file mode 100644 index 0000000..e6327f3 --- /dev/null +++ b/tests/common/delete_error.sh @@ -0,0 +1,9 @@ +cd "$TEST" + +"$XTOUCH" -p foo/bar baz/qux +chmod -w foo +defer chmod +w foo + +! invoke_bfs . -print -delete -print >"$OUT" || fail +sort_output +diff_output -- cgit v1.2.3