2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

test: don't save content of /sys/kernel/debug/tracing/trace

We don't tune tracers, so we don't expect to get anything.
In docker containers, debugfs isn't mounted and this command failed.

Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Andrei Vagin
2018-06-02 00:03:01 +03:00
parent c4b398fd0a
commit 04a843c2f2

View File

@@ -33,9 +33,9 @@ function mount_tmpfs_to_dump()
function fail()
{
set +e
uname -a
ps axf > ps.log
cat /sys/kernel/debug/tracing/trace > trace.log
ps axf --width 256 > ps.log
tar -czf /home/`basename $0`-${BUILD_NUMBER}-${GIT_COMMIT}-$(date +%m%d%H%M).tar.gz .
tar -czf report.tar.gz -C test/ report
exit 1