]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
add setup file vorbis
authorBastian Dehn <hhaalo@arcor.de>
Sat, 26 Sep 2026 07:14:51 +0000 (09:14 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 26 Sep 2026 07:14:51 +0000 (09:14 +0200)
tests/vorbis.bats

index 9073924c4cf8af9cf010143d9784d9a6702adb6f..6077b95baf702eec9b58d364051c0d8c890c85af 100755 (executable)
@@ -3,11 +3,14 @@
 setup() {
        bats_load_library 'bats-support'
        bats_load_library 'bats-assert'
-       mkdir --parents "build/tests/output"
        source "src/lib/vorbis.sh"
 }
 
-teardown() {
+setup_file() {
+       mkdir --parents "build/tests/output"
+}
+
+teardown_file() {
        rm --recursive --force "build"
 }