Add test to check whether empty mood arguments are rejected.
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 12 Mar 2022 03:29:03 +0000 (04:29 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 18 May 2022 20:42:28 +0000 (22:42 +0200)
commit329bf73b72eea2c5be1bcbd9a9602c0a8994d0be
treeb42c78a001d8c12381d4d1a966fe4f24005c7de0
parent6fdd44675c44fe0514e7e16f3344c62d5e62e846
Add test to check whether empty mood arguments are rejected.

To make sure a recent bug won't be re-introduced. The test succeeds
but fails with commit

2c2d3a6ec34d983cb698b245facb8d6240aec1b3

reverted.

We have to add at least one mood to trigger the bug. Since addmood is
a stdin command we must redirect stdin for the para_client command. It
does not hurt to do this for all commands, not just the new one.
t/t0004-server.sh