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:
@@ -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
|
||||
|
Reference in New Issue
Block a user