mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-23 22:53:35 +00:00
btrfs-progs: tests: limit size of log dump from conver tests
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>
This commit is contained in:
parent
73de02b1c5
commit
c9141313ec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user