mirror of
https://github.com/proot-me/proot-rs.git
synced 2024-11-27 05:48:57 +00:00
10 lines
265 B
Bash
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"* ]]
|
|
}
|