about summary refs log tree commit diff
path: root/test/Execute-Tests
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-04-07 01:36:10 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-04-07 01:36:10 +0000
commitb822e7857db551e6c717f82ec086c1027b550d98 (patch)
treea0ed80c1fc64e9508451894accb40b4cfeb7fbd8 /test/Execute-Tests
parent1b72ac8d1efa4824ba3e4865ee9c89085cf5decf (diff)
downloadnetpbm-mirror-b822e7857db551e6c717f82ec086c1027b550d98.tar.gz
netpbm-mirror-b822e7857db551e6c717f82ec086c1027b550d98.tar.xz
netpbm-mirror-b822e7857db551e6c717f82ec086c1027b550d98.zip
Replace some GNU-only code with more portable version
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2453 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/Execute-Tests')
-rwxr-xr-xtest/Execute-Tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Execute-Tests b/test/Execute-Tests
index 12418bed..78091e6b 100755
--- a/test/Execute-Tests
+++ b/test/Execute-Tests
@@ -59,7 +59,7 @@ srcdir=$(dirname $0)
 
 if [ -z $tmpdir ]
   then
-    tmpdir_created=$(mktemp -d) || exit 1;
+    tmpdir_created=$(mktemp -d "${TMPDIR:-/tmp}/netpbm.XXXXXXXX") || exit 1;
   export tmpdir=${tmpdir_created}
   else
   tmpdir_created="";
@@ -297,7 +297,7 @@ echo "TOTAL TESTABLE" $total_testable
 
 echo ==================
 echo "All tests done."
-date -R -u
+date -u +"%a, %d %b %Y %H:%M:%S %z"
 
 
 # Exit with status 0 if all possible tests succeeded, 1 otherwise.