]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
change post inst warning
authorBastian Dehn <hhaalo@arcor.de>
Thu, 16 Jul 2026 17:56:09 +0000 (19:56 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Thu, 16 Jul 2026 17:56:09 +0000 (19:56 +0200)
src/debian/postinst
tests/postinst.bats

index 48ab3b4f910f7d3e85ea0e28f668229f3216bbac..d16fa168383f1c837f7f5cb7f2aeac356a4e0d24 100755 (executable)
@@ -4,7 +4,7 @@ set -e
 find_config()
 {
        [ ! -f "$DLLCONFIG" ] \
-               && echo "ERROR: $DLLCONFIG does not exist" \
+               && echo "WARNING: $DLLCONFIG does not exist" \
                && return 1
        echo "found $DLLCONFIG"
 }
index 1af18c9f4ae36efdc5847ac2af8d8560fd8779fd..e2e032d244c73bc31c2f6b863e273745e2e018b1 100755 (executable)
@@ -18,7 +18,7 @@ teardown() {
        run ../src/debian/postinst
 
        assert_success
-       assert_output "ERROR: ../build/dll-not-exists.conf does not exist"
+       assert_output "WARNING: ../build/dll-not-exists.conf does not exist"
 }
 
 @test "add entry kds_s2000w_net dll.conf" {