about summary refs log tree commit homepage
path: root/t/t0202-async-response-one-oh.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t0202-async-response-one-oh.sh')
-rwxr-xr-xt/t0202-async-response-one-oh.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t0202-async-response-one-oh.sh b/t/t0202-async-response-one-oh.sh
index 49b6cac..6320d73 100755
--- a/t/t0202-async-response-one-oh.sh
+++ b/t/t0202-async-response-one-oh.sh
@@ -16,13 +16,13 @@ t_begin "setup and start" && {
 }
 
 t_begin "send async requests off in parallel" && {
-        t0=$(date +%s)
+        t0=$(unix_time)
         curl="curl -0 --no-buffer -vsSf http://$listen/"
         ( $curl 2>> $a_err | tee $a) &
         ( $curl 2>> $b_err | tee $b) &
         ( $curl 2>> $c_err | tee $c) &
         wait
-        t1=$(date +%s)
+        t1=$(unix_time)
 }
 
 t_begin "ensure elapsed requests were processed in parallel" && {