mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-05 03:44:05 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0b521a943e | ||
|
|
36a3f04566 |
@@ -523,9 +523,10 @@ if [ -n "$T_TRACE_GLOB" ]; then
|
||||
cat /sys/kernel/debug/tracing/trace > "$T_RESULTS/traces"
|
||||
fi
|
||||
|
||||
if [ "$skipped" == 0 -a "$failed" == 0 ]; then
|
||||
status=1
|
||||
if [ "$failed" == 0 ]; then
|
||||
msg "all tests passed"
|
||||
exit 0
|
||||
status=0
|
||||
fi
|
||||
|
||||
if [ "$skipped" != 0 ]; then
|
||||
@@ -534,4 +535,4 @@ fi
|
||||
if [ "$failed" != 0 ]; then
|
||||
msg "$failed tests failed, check fail.log"
|
||||
fi
|
||||
exit 1
|
||||
exit $status
|
||||
|
||||
@@ -19,10 +19,10 @@
|
||||
|
||||
# make sure we have our config
|
||||
if [ -z "$T_XFSTESTS_REPO" ]; then
|
||||
t_fail "xfstests requires -X repo"
|
||||
t_skip "xfstests requires -X repo"
|
||||
fi
|
||||
if [ -z "$T_XFSTESTS_BRANCH" -a -z "$T_SKIP_CHECKOUT" ]; then
|
||||
t_fail "xfstests requires -x branch"
|
||||
t_skip "xfstests requires -x branch"
|
||||
fi
|
||||
|
||||
t_quiet mkdir -p "$T_TMPDIR/mnt.scratch"
|
||||
|
||||
Reference in New Issue
Block a user