From: Bastian Dehn Date: Thu, 16 Jul 2026 15:06:11 +0000 (+0200) Subject: add teardown postinst X-Git-Tag: v1.1.35^2~3^2~11 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=373e911f7c6f146670559ddc1c7ae11d503524d3;p=sane-kds-s2000w-net.git add teardown postinst --- diff --git a/tests/postinst.bats b/tests/postinst.bats index fb3e353..589d8dc 100755 --- a/tests/postinst.bats +++ b/tests/postinst.bats @@ -4,10 +4,13 @@ setup() { bats_load_library bats-support bats_load_library bats-assert mkdir --parents ../build - rm -rf ../build/dll.conf touch ../build/dll.conf } +teardown() { + rm -rf ../build/dll.conf +} + @test "ignore file does not exists" { export DLLCONFIG="../build/dll-not-exists.conf"