summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/setup_apkcache_test11
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/setup_apkcache_test b/tests/setup_apkcache_test
index f0af6d3..38437ed 100755
--- a/tests/setup_apkcache_test
+++ b/tests/setup_apkcache_test
@@ -4,7 +4,8 @@
init_tests \
setup_apkcache_usage \
setup_apkcache_abspath \
- setup_apkcache_relpath_with_slash
+ setup_apkcache_relpath_with_slash \
+ setup_apkcache_none \
setup_apkcache_usage_body() {
test_usage setup-apkcache
@@ -29,3 +30,11 @@ setup_apkcache_relpath_with_slash_body() {
[ "$(readlink etc/apk/cache)" = "/media/LABEL=APKOVL/cache" ] \
|| atf_fail "etc/apk/cache is symlink to $(readlink /etc/apk/cache) instead of /media/LABEL=APKOVL/cache"
}
+
+setup_apkcache_none_body() {
+ init_env
+ atf_check -s exit:0 \
+ -o empty \
+ -e empty \
+ setup-apkcache none
+}