Skip to content

Commit

Permalink
fix test_log_common
Browse files Browse the repository at this point in the history
  • Loading branch information
omar-polo committed Nov 24, 2024
1 parent 859c842 commit 9cffa6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions regress/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -527,9 +527,9 @@ log style common'
check_reply '20 text/gemini'

# remove the ip and timestamp
awk '{$2 = ""; $5 = "timestamp"; print $0}' log > log.edited
awk '{$2 = ""; $5 = "timestamp"; $6 = "tz"; print $0}' log > log.edited

printf '%s\n' 'localhost - - timestamp +0200 "gemini://localhost/" 20 0' \
printf '%s\n' 'localhost - - timestamp tz "gemini://localhost/" 20 0' \
> log.exp
if ! cmp -s log.edited log.exp; then
diff -u log.edited log.exp
Expand Down

0 comments on commit 9cffa6b

Please sign in to comment.