mirror of
https://github.com/erenfro/gen2stage4.git
synced 2024-11-14 03:08:57 -05:00
23 lines
365 B
Text
23 lines
365 B
Text
|
#!/usr/bin/env bats
|
||
|
|
||
|
load test_helper
|
||
|
|
||
|
setup() {
|
||
|
f test/var/lib/connman/file
|
||
|
mkstage4.sh -c -q -t test test
|
||
|
}
|
||
|
|
||
|
teardown() {
|
||
|
rm -rf test test.tar.bz2
|
||
|
}
|
||
|
|
||
|
@test "/var/lib/connman/file is excluded" {
|
||
|
assert_tar_excludes test/var/lib/connman/file
|
||
|
}
|
||
|
|
||
|
@test "/var/lib/connman/ is included" {
|
||
|
assert_tar_includes test/var/lib/connman/
|
||
|
}
|
||
|
|
||
|
# vim: ft=bash
|