say "1..$test_count$skip_all"
fi
- test -d "$remove_trash" &&
+ test -d "$remove_trash" ||
+ error "Tests passed but trash directory already removed before test cleanup; aborting"
+
cd "$(dirname "$remove_trash")" &&
- rm -rf "$(basename "$remove_trash")"
+ rm -rf "$(basename "$remove_trash")" ||
+ error "Tests passed but test cleanup failed; aborting"
test_at_end_hook_
test "$uid" != 0
'
+test_lazy_prereq JGIT '
+ type jgit
+'
+
# SANITY is about "can you correctly predict what the filesystem would
# do by only looking at the permission bits of the files and
# directories?" A typical example of !SANITY is running the test