From ea460f60dc63c6a41b510fdecef03b7a2e1af9a2 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 23 Jan 2023 15:31:04 +0100 Subject: tests: add fake apk audit useful for `lbu package` --- tests/bin/apk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/bin') diff --git a/tests/bin/apk b/tests/bin/apk index 29da9ba..8f2a945 100755 --- a/tests/bin/apk +++ b/tests/bin/apk @@ -7,15 +7,18 @@ if [ "$1" = "--print-arch" ]; then exit fi -echo "DEBUG: fake apk" "$@" - rootfs=. kver=5.15.78-0 while [ $# -gt 0 ]; do case "$1" in add|del) + echo "DEBUG: fake apk" "$@" cmd="$1" ;; + audit) + echo "U etc/hostname" + exit 0 + ;; -p|--root) shift rootfs="$1" -- cgit v1.2.3