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