From: Andreas Steffen Date: Sat, 23 Jul 2022 09:28:08 +0000 (+0200) Subject: testing: Replace deprecated tempfile command by mktemp X-Git-Tag: 5.9.7rc1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67f7d8fe8a5b117fca35b5be75c2321b126bff28;p=thirdparty%2Fstrongswan.git testing: Replace deprecated tempfile command by mktemp --- diff --git a/testing/do-tests b/testing/do-tests index 87bd07e212..75b6b3e34b 100755 --- a/testing/do-tests +++ b/testing/do-tests @@ -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") {