1
0
mirror of https://github.com/proot-me/proot-rs.git synced 2024-11-27 05:48:57 +00:00
proot-rs/tests/event.bats
2021-07-27 10:27:21 -04:00

10 lines
265 B
Bash

#!/usr/bin/env bats
load helper
@test "test terminate tracees after proot-rs exits" {
runp proot-rs --rootfs "$ROOTFS" -- /bin/sh -c '/bin/kill -11 $PPID; /bin/echo "The tracee is still alive, which is not allowed";'
[[ "$output" != *"still alive"* ]]
}