projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
73de02b
)
btrfs-progs: tests: limit size of log dump from conver tests
author
David Sterba
<dsterba@suse.com>
Tue, 29 Aug 2017 16:41:30 +0000
(18:41 +0200)
committer
David Sterba
<dsterba@suse.com>
Fri, 8 Sep 2017 14:15:05 +0000
(16:15 +0200)
The convert tests generate lots of log material, travis CI has limit 4MB
so we don't see anything useful when a late test fails.
Signed-off-by: David Sterba <dsterba@suse.com>
tests/convert-tests.sh
patch
|
blob
|
history
diff --git
a/tests/convert-tests.sh
b/tests/convert-tests.sh
index
57fd925
..
8e97b22
100755
(executable)
--- a/
tests/convert-tests.sh
+++ b/
tests/convert-tests.sh
@@
-41,7
+41,9
@@
run_one_test() {
./test.sh
if [ $? -ne 0 ]; then
if [[ $TEST_LOG =~ dump ]]; then
- cat "$RESULTS"
+ # the logs can be large and may exceed the
+ # limits, use 4MB for now
+ tail -c 3900000 "$RESULTS"
fi
_fail "test failed for case $testname"
fi