mirror of
https://github.com/erenfro/gen2stage4.git
synced 2024-11-14 11:18:57 -05:00
94b0040499
Added tests, including test cases for: * the -b option * the -c (connman) option * the -e option * the -k option * the -l option * portage dirs Signed-off-by: Lucian Poston <lucianposton@pm.me>
22 lines
365 B
Bash
22 lines
365 B
Bash
#!/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
|