]> git.tue.mpg.de Git - paraslash.git/commit
Add two new tests for para_server.
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 29 Sep 2022 15:52:45 +0000 (17:52 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 11 Mar 2023 18:16:17 +0000 (19:16 +0100)
commit2b838f7e906422c84f9fce013743eaf7299b2c02
tree88cc824678301b387d175ad5a1291f3f3b4c7da8
parent0c8171f80c108e6e4a3b1638b7de6def78ed1ced
Add two new tests for para_server.

In a (non-public) development branch the add subcommand was broken
although t0004-server exercises this subcommand and reported no
error. The bug went unnoticed because it would only bite when the
subcommand was given a directory to add, but the test specifies a
pathname which refers to a regular file.

To detect such breakage early, add a test which tries to add a
directory and another which exercises the rm command.
t/audio_files/short-44100-2.mp3 [new file with mode: 0644]
t/t0004-server.sh