Add Test
Signed-off-by: Hadi Chokr <hadichokr@icloud.com>
This commit is contained in:
parent
b70a94d713
commit
534e56d71b
|
|
@ -47,6 +47,18 @@ install_test_apps() {
|
||||||
assert [ ! -f "$HOME/.local/share/applications/gimp-$(get_latest_container_name).desktop" ]
|
assert [ ! -f "$HOME/.local/share/applications/gimp-$(get_latest_container_name).desktop" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@test "unexport: Remove exported Neovim binary from Fedora container" {
|
||||||
|
create_default_container
|
||||||
|
install_test_apps
|
||||||
|
run "$TOOLBX" export --bin nvim --container "$(get_latest_container_name)"
|
||||||
|
assert_success
|
||||||
|
assert [ -f "$HOME/.local/bin/nvim" ]
|
||||||
|
|
||||||
|
run "$TOOLBX" unexport --bin nvim --container "$(get_latest_container_name)"
|
||||||
|
assert_success
|
||||||
|
assert [ ! -f "$HOME/.local/bin/nvim" ]
|
||||||
|
}
|
||||||
|
|
||||||
@test "unexport: Remove all exported items from Fedora container" {
|
@test "unexport: Remove all exported items from Fedora container" {
|
||||||
create_default_container
|
create_default_container
|
||||||
install_test_apps
|
install_test_apps
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue