]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
testing: Replace deprecated tempfile command by mktemp
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 23 Jul 2022 09:28:08 +0000 (11:28 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 23 Jul 2022 09:28:08 +0000 (11:28 +0200)
testing/do-tests

index 87bd07e21242ef804e9927f43044e2e6358fca18..75b6b3e34b027e8b20712373590acf200a59c108 100755 (executable)
@@ -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")
                {