criu/test/zdtm/static/mnt_tracefs.hook
Tycho Andersen 6178668e6a test: robustify mnt_tracefs test
* make sure that tracefs is actually loaded, and try and access it after
  restore
* don't mount debugfs in /, leaving an ugly directory in /test
* clean up the debugfs mount point (with a hook, since the test can't
  unmount it due to perms)

travis-ci: success for test: robustify mnt_tracefs test
Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-10-24 16:00:15 +03:00

5 lines
81 B
Bash
Executable file

#!/bin/bash
[ "$1" == "--clean" ] || exit 0
rmdir zdtm/static/mnt_tracefs.test