testing: Replace deprecated tempfile command by mktemp
This commit is contained in:
+2
-2
@@ -459,8 +459,8 @@ do
|
|||||||
{
|
{
|
||||||
next
|
next
|
||||||
}
|
}
|
||||||
printf("cmd_err=\044(tempfile -p test -s err); ")
|
printf("cmd_err=\044(mktemp --suff .err test.XXXXXX); ")
|
||||||
printf("cmd_out=\044(tempfile -p test -s out); ")
|
printf("cmd_out=\044(mktemp --suff .out test.XXXXXX); ")
|
||||||
printf("start_time=\044(print_time); ")
|
printf("start_time=\044(print_time); ")
|
||||||
if (command == "tcpdump")
|
if (command == "tcpdump")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user