]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
change music path singular
authorBastian Dehn <hhaalo@arcor.de>
Fri, 25 Sep 2026 09:19:01 +0000 (11:19 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Fri, 25 Sep 2026 09:19:01 +0000 (11:19 +0200)
src/albentohandy
tests/albentohandy.bats
tests/test.conf

index 3b26c10e6f980086637b5b172939ad072c73f467..252581081dad4cb992e4c532518693100b5d270b 100755 (executable)
@@ -28,8 +28,8 @@ load_config()
                || return $?
 
        source "$CONFIG_FILE"
-       [ -n "$MUSIC_PATHES" ] \
-               || errlog "missing MUSIC_PATHES in $CONFIG_FILE" \
+       [ -n "$MUSIC_PATH" ] \
+               || errlog "missing MUSIC_PATH in $CONFIG_FILE" \
                || return $?
        LIB_PATH=${LIB_PATH:-"$scriptpath/lib"}
        OUTPUT_PATH=${OUTPUT_PATH:-"work.$$"}
index dff5daef1c74018ef05f38bdbb766ae48bc54cd3..71af4aa3de66aa623fb7e5f2af23731999126b8b 100755 (executable)
@@ -45,7 +45,7 @@ teardown() {
        run main
 
        assert_failure
-       assert_line --index 0 "❌ ERROR: missing MUSIC_PATHES in build/tests/albentohandy.conf"
+       assert_line --index 0 "❌ ERROR: missing MUSIC_PATH in build/tests/albentohandy.conf"
 }
 
 @test "failed: lib vorbis.sh not found" {
index 8853183312ca0cb91cda8734a6fb49944e975063..be8ab0b273dbb0ca372d2b19f994e91bb3a2ee78 100644 (file)
@@ -1,2 +1,2 @@
-MUSIC_PATHES=("build/tests/music")
+MUSIC_PATH="build/tests/music"
 OUTPUT_PATH="build/tests/output"
\ No newline at end of file