Jeremy Lavergne <[email protected]> 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.
---
This works for me.  John, did you have a reason to want to use a random
name here?  mktemp doesn't generate very interesting file names in any
case.

diff --git a/tests/libpspp/zip.at b/tests/libpspp/zip.at
index a725049..55bf563 100644
--- 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`;
-- 
1.7.2.5


_______________________________________________
pspp-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to