2 format: Lava-Test Test Definition 1.0
3 name: lttng-destructive-tests
4 description: "Run root destructive test suite"
9 - systemctl stop systemd-timesyncd.service
12 - echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
15 - source /root/lttngvenv/activate
16 - cd /root/lttngvenv/src/lttng-tools
17 - lava-test-case build-test-suite --shell "make"
18 - export LTTNG_ENABLE_DESTRUCTIVE_TESTS="will-break-my-system"
20 #Need to check if the file is present for branches where the testcase was not backported
21 - lava-test-case run-tests --shell "if [ -e root_destructive_tests ]; then prove --verbose --merge --exec '' - < root_destructive_tests; else echo 'root_destructive_tests not found'; fi"
23 - tar czf coredump.tar.gz coredump
24 - lava-test-case-attach run-benchmarks coredump.tar.gz