From 281f7993dffcd8dcb0609182d5263ba62db52edf Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Mon, 18 Jul 2016 16:08:04 +1000 Subject: Use mktemp rather than the deprecated tempfile Fixes: 2ceb8b8c0ac53a9014e83d12e1c758d5f9e07fe6 Signed-off-by: Stewart Smith --- test/hello_world/run_mambo_hello_world.sh | 2 +- test/hello_world/run_qemu_hello_world.sh | 2 +- test/run_mambo_boot_test.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/hello_world/run_mambo_hello_world.sh b/test/hello_world/run_mambo_hello_world.sh index 9d33565..7bde597 100755 --- a/test/hello_world/run_mambo_hello_world.sh +++ b/test/hello_world/run_mambo_hello_world.sh @@ -31,7 +31,7 @@ export SKIBOOT_ZIMAGE=`pwd`/test/hello_world/hello_kernel/hello_kernel OLD_ULIMIT_C=`ulimit -c` ulimit -c 0 -t=$(tempfile) || exit 1 +t=$(mktemp) || exit 1 trap "rm -f -- '$t'" EXIT diff --git a/test/hello_world/run_qemu_hello_world.sh b/test/hello_world/run_qemu_hello_world.sh index fd4c5c9..bcd0f56 100755 --- a/test/hello_world/run_qemu_hello_world.sh +++ b/test/hello_world/run_qemu_hello_world.sh @@ -27,7 +27,7 @@ fi export SKIBOOT_ZIMAGE=`pwd`/test/hello_world/hello_kernel/hello_kernel -t=$(tempfile) || exit 1 +t=$(mktemp) || exit 1 trap "rm -f -- '$t'" EXIT diff --git a/test/run_mambo_boot_test.sh b/test/run_mambo_boot_test.sh index 9b216b4..e028330 100755 --- a/test/run_mambo_boot_test.sh +++ b/test/run_mambo_boot_test.sh @@ -41,7 +41,7 @@ fi OLD_ULIMIT_C=`ulimit -c` ulimit -c 0 -t=$(tempfile) || exit 1 +t=$(mktemp) || exit 1 trap "rm -f -- '$t'" EXIT -- cgit v1.1