summaryrefslogtreecommitdiff
path: root/tests/lbu_test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lbu_test')
-rwxr-xr-xtests/lbu_test16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/lbu_test b/tests/lbu_test
index 73f0e65..6f9a537 100755
--- a/tests/lbu_test
+++ b/tests/lbu_test
@@ -160,22 +160,8 @@ lbu_st_usage_body() {
lbu st -h
}
-create_fake_apk_audit() {
- mkdir -p bin etc
- cat >bin/apk<<-EOF
- #!/bin/sh
- # mock apk
- echo etc/localtime
- echo etc/hosts
- EOF
- chmod +x bin/apk
- touch etc/localtime etc/hosts
- export PATH="$PWD/bin:$PATH"
-}
-
lbu_package_body() {
init_env
- create_fake_apk_audit
atf_check \
lbu package
@@ -204,7 +190,6 @@ lbu_package_encrypted_body() {
echo 'ENCRYPTION=$DEFAULT_CIPHER'
echo 'PASSWORD=foobar'
) > "$PWD/$sysconfdir/lbu.conf"
- create_fake_apk_audit
atf_check \
-e match:"WARNING" \
@@ -218,7 +203,6 @@ lbu_package_encrypted_body() {
lbu_package_pre_post_hooks_body() {
init_env
get_sysconfdir
- create_fake_apk_audit
mkdir -p "$PWD/$sysconfdir/pre-package.d" \
"$PWD/$sysconfdir/post-package.d"