projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4526866
)
tests: Avoid nonportable "mktemp" usage.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 10 Jul 2011 22:51:13 +0000
(15:51 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 10 Jul 2011 22:59:50 +0000
(15:59 -0700)
Jeremy Lavergne <jeremy@lavergne.gotdns.org> reported that
mktemp on Mac OS X does not have a -p option. But I don't see
a reason to use mktemp at all here, so this commit uses a fixed
name instead.
tests/libpspp/zip.at
patch
|
blob
|
history
diff --git
a/tests/libpspp/zip.at
b/tests/libpspp/zip.at
index a725049e525193737d9dd29597e9b9d643bce72c..55bf563f1b66441d31155c6426e713164ae6da9a 100644
(file)
--- a/
tests/libpspp/zip.at
+++ b/
tests/libpspp/zip.at
@@
-14,7
+14,7
@@
mkdir -p $dir1
names=""
s=1;
while test $s -le 8192 ; do
- name=
`mktemp -p $dir1`;
+ name=
$dir1/$s
dd if=/dev/urandom of=$name count=1 bs=$s 2> /dev/null
s=$(($s * 2));
bn=`basename $name`;