diff options
Diffstat (limited to 'tests/run')
-rwxr-xr-x | tests/run | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -133,11 +133,12 @@ doveadm() { # Sample (random) message sample_message() { + local date="$(date +"%s.%N")" cat <<-EOF From: <sender@example.net> To: <recipient@example.net> - Date: $(date -R) - Message-ID: <$(< /proc/sys/kernel/random/uuid)@example.net> + Date: $(date -R -d@"$date") + Message-ID: <$date@example.net> EOF local len="$(shuf -i1-4096 -n1)" |