]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
change checksum exclude is implicit
authorBastian Dehn <hhaalo@arcor.de>
Sun, 27 Sep 2026 07:09:21 +0000 (09:09 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 27 Sep 2026 07:09:21 +0000 (09:09 +0200)
src/albentohandy
tests/albentohandy.bats

index c01f9bb271a7f088deab87c6a7da059d58d331b1..02dc3436b8b40d2f787d1238b0b8dff2c15d8c9a 100755 (executable)
@@ -126,7 +126,6 @@ calc_checksum()
        cd "$OUTPUT_PATH" || return $?
        find . -type f -regex '.*\(\.ogg\|\.mp3\|\.opus\|\.flac\)' \
                | sort \
-               | sed '/checksum/d' \
                | xargs sha256sum > checksum.sha256
 }
 
index 230ff6054a8e2d9d81aa5a0c1683d41c4a9081af..f84a41d5c223686724ec20a3bf6ccddc89da2375 100755 (executable)
@@ -566,6 +566,7 @@ teardown() {
        echo "testfile5" > "build/tests/output/Artist1/Album1/other"
        echo "testfile6" > "build/tests/output/Artist1/Album1/other.txt"
        echo "testfile7" > "build/tests/output/Artist1/Album1/cover.jpg"
+       echo "testfile8" > "build/tests/output/Artist1/Album1/checksum.sha256"
 
        run main -i "build/tests/albumlist"