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/printf_Y_error.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/gnu/printf_Y_error.sh (limited to 'tests/gnu/printf_Y_error.sh') diff --git a/tests/gnu/printf_Y_error.sh b/tests/gnu/printf_Y_error.sh new file mode 100644 index 0000000..933c734 --- /dev/null +++ b/tests/gnu/printf_Y_error.sh @@ -0,0 +1,12 @@ +rm -rf scratch/* +mkdir scratch/foo +chmod -x scratch/foo +ln -s foo/bar scratch/bar + +bfs_diff scratch -printf '(%p) (%l) %y %Y\n' +ret=$? + +chmod +x scratch/foo +rm -rf scratch/* + +[ $ret -eq $EX_BFS ] -- cgit v1.2.3