mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +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.
|
# Wrapper so chamuyero scripts can invoke chasquid-util for testing.
|
||||||
|
|
||||||
# Run from the config directory because data_dir is relative.
|
# 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=. "$@"
|
go run ../../../cmd/chasquid-util/chasquid-util.go -C=. "$@"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ function send_and_check() {
|
|||||||
mail_diff content ".mail/$i@testserver"
|
mail_diff content ".mail/$i@testserver"
|
||||||
rm -f ".mail/$i@testserver"
|
rm -f ".mail/$i@testserver"
|
||||||
done
|
done
|
||||||
if ! [ -z "$(ls .mail/)" ]; then
|
if [ -n "$(ls .mail/)" ]; then
|
||||||
fail "unexpected mail was delivered: $(ls .mail/)"
|
fail "unexpected mail was delivered: $(ls .mail/)"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user