1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-16 14:27:01 +00:00

test: Minor bash style fixes to t-04-aliases

This patch contains minor bash style fixes to test/t-04-aliases, for
readability and consistency.
This commit is contained in:
Alberto Bertogli
2023-10-07 12:07:54 +01:00
parent 669bccc13f
commit 43e98e08a8
2 changed files with 2 additions and 2 deletions

View File

@@ -2,5 +2,5 @@
# Wrapper so chamuyero scripts can invoke chasquid-util for testing.
# Run from the config directory because data_dir is relative.
cd config
cd config || exit 1
go run ../../../cmd/chasquid-util/chasquid-util.go -C=. "$@"

View File

@@ -21,7 +21,7 @@ function send_and_check() {
mail_diff content ".mail/$i@testserver"
rm -f ".mail/$i@testserver"
done
if ! [ -z "$(ls .mail/)" ]; then
if [ -n "$(ls .mail/)" ]; then
fail "unexpected mail was delivered: $(ls .mail/)"
fi
}