summaryrefslogtreecommitdiffstats
path: root/tests/posix/depth_error.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/posix/depth_error.sh')
-rw-r--r--tests/posix/depth_error.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/posix/depth_error.sh b/tests/posix/depth_error.sh
index e91fbf6..a6429d1 100644
--- a/tests/posix/depth_error.sh
+++ b/tests/posix/depth_error.sh
@@ -2,6 +2,6 @@ clean_scratch
"$XTOUCH" -p scratch/foo/bar
chmod a-r scratch/foo
-trap "chmod +r scratch/foo" EXIT
+defer chmod +r scratch/foo
! bfs_diff scratch -depth