commit 9f300b24d65847e8ef97941e33a70993ac0118ab
parent 6b4ed5e72fbc812704fa6659a87d7b91d50a6b0b
Author: sin <sin@2f30.org>
Date: Fri, 3 May 2019 16:54:37 +0100
Fix tests
Diffstat:
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/test000 b/test000
@@ -3,7 +3,7 @@ set -ex
SHA1SUM=${SHA1SUM:-sha1sum}
-repo=`mktemp -d`
+repo=`mktemp -u`
data=`mktemp`
dd if=/dev/urandom of="$data" bs=1M count=64
./dup-init -Z none "$repo"
diff --git a/test001 b/test001
@@ -3,7 +3,7 @@ set -ex
SHA1SUM=${SHA1SUM:-sha1sum}
-repo=`mktemp -d`
+repo=`mktemp -u`
data=`mktemp`
dd if=/dev/urandom of="$data" bs=1M count=64
./dup-init -Z snappy "$repo"
diff --git a/test002 b/test002
@@ -1,7 +1,7 @@
#!/bin/sh
set -ex
-repo=`mktemp -d`
+repo=`mktemp -u`
data=`mktemp`
dd if=/dev/urandom of="$data" bs=1M count=64
./dup-init -Z none "$repo"
diff --git a/test003 b/test003
@@ -1,7 +1,7 @@
#!/bin/sh
set -ex
-repo=`mktemp -d`
+repo=`mktemp -u`
data=`mktemp`
dd if=/dev/urandom of="$data" bs=1M count=64
./dup-init -Z snappy "$repo"
diff --git a/test004 b/test004
@@ -3,7 +3,7 @@ set -ex
SHA1SUM=${SHA1SUM:-sha1sum}
-repo=`mktemp -d`
+repo=`mktemp -u`
data=`mktemp`
dd if=/dev/urandom of="$data" bs=1M count=64
./dup-init "$repo"
diff --git a/test005 b/test005
@@ -3,7 +3,7 @@ set -ex
SHA1SUM=${SHA1SUM:-sha1sum}
-repo=`mktemp -d`
+repo=`mktemp -u`
data=`mktemp`
dd if=/dev/urandom of="$data" bs=1M count=64
./dup-init "$repo"
diff --git a/test006 b/test006
@@ -4,7 +4,7 @@ set -ex
SHA1SUM=${SHA1SUM:-sha1sum}
keyfile=`mktemp -u`
-repo=`mktemp -d`
+repo=`mktemp -u`
data=`mktemp`
dd if=/dev/urandom of="$data" bs=1M count=64
./dup-keygen "$keyfile"