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:
@@ -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=. "$@"
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user