diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-07-18 16:08:04 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-07-18 16:08:04 +1000 |
commit | 281f7993dffcd8dcb0609182d5263ba62db52edf (patch) | |
tree | a48062f490a11392b73fae07ee57189789a62111 /test | |
parent | d314ddf5d9e167108ccddf0ed1cdb3cc0f25d443 (diff) | |
download | skiboot-281f7993dffcd8dcb0609182d5263ba62db52edf.zip skiboot-281f7993dffcd8dcb0609182d5263ba62db52edf.tar.gz skiboot-281f7993dffcd8dcb0609182d5263ba62db52edf.tar.bz2 |
Use mktemp rather than the deprecated tempfile
Fixes: 2ceb8b8c0ac53a9014e83d12e1c758d5f9e07fe6
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'test')
-rwxr-xr-x | test/hello_world/run_mambo_hello_world.sh | 2 | ||||
-rwxr-xr-x | test/hello_world/run_qemu_hello_world.sh | 2 | ||||
-rwxr-xr-x | 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 |