testing: Replace deprecated tempfile command by mktemp

This commit is contained in:
Andreas Steffen
2022-07-23 11:28:08 +02:00
parent 77553bfee6
commit 67f7d8fe8a
+2 -2
View File
@@ -459,8 +459,8 @@ do
{
next
}
printf("cmd_err=\044(tempfile -p test -s err); ")
printf("cmd_out=\044(tempfile -p test -s out); ")
printf("cmd_err=\044(mktemp --suff .err test.XXXXXX); ")
printf("cmd_out=\044(mktemp --suff .out test.XXXXXX); ")
printf("start_time=\044(print_time); ")
if (command == "tcpdump")
{