server: New test, ensuring the jail has a version file
This commit is contained in:
parent
d606432fb6
commit
e16feaeb17
1 changed files with 5 additions and 0 deletions
|
@ -25,6 +25,11 @@ load test_helper
|
|||
assert_success
|
||||
}
|
||||
|
||||
@test "New jail should have a version file" {
|
||||
run test -f "/backup/jails/${JAILNAME}/version"
|
||||
assert_success
|
||||
}
|
||||
|
||||
@test "A jail should be able to be started" {
|
||||
/usr/lib/bkctld/bkctld-start "${JAILNAME}"
|
||||
pid=$(systemctl show --value --property MainPID systemd-nspawn@${JAILNAME})
|
||||
|
|
Loading…
Add table
Reference in a new issue