aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2018-03-07 09:45:20 +0100
committerJakob Unterwurzacher2018-03-07 09:45:20 +0100
commit02693912e59b44f463c4b14d6a3168fa24857e6f (patch)
tree496761157a64809a33be811b72058023b8d51940
parentd09a51b80a68df2bd533b99f51750b0b3f3c94cb (diff)
tests: convert remaining wget calls to dl-linux-tarball.bash helper
Makes the scripts work when wget is not available (macos)
-rwxr-xr-xtests/reverse/linux-tarball-test.bash2
-rwxr-xr-xtests/stress_tests/extractloop.bash2
-rwxr-xr-xtests/stress_tests/pingpong.bash2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/reverse/linux-tarball-test.bash b/tests/reverse/linux-tarball-test.bash
index e8ecca6..26bbb6c 100755
--- a/tests/reverse/linux-tarball-test.bash
+++ b/tests/reverse/linux-tarball-test.bash
@@ -8,8 +8,8 @@ MYNAME=$(basename "$0")
source ../fuse-unmount.bash
# Setup dirs
+../dl-linux-tarball.bash
cd /tmp
-wget -nv --show-progress -c https://www.kernel.org/pub/linux/kernel/v3.0/linux-3.0.tar.gz
WD=$(mktemp -d /tmp/$MYNAME.XXX)
# Cleanup trap
diff --git a/tests/stress_tests/extractloop.bash b/tests/stress_tests/extractloop.bash
index 5a3aa1b..e25f721 100755
--- a/tests/stress_tests/extractloop.bash
+++ b/tests/stress_tests/extractloop.bash
@@ -19,8 +19,8 @@ MYNAME=$(basename "$0")
source ../fuse-unmount.bash
# Setup dirs
+../dl-linux-tarball.bash
cd /tmp
-wget -nv --show-progress -c https://www.kernel.org/pub/linux/kernel/v3.0/linux-3.0.tar.gz
CRYPT=$(mktemp -d /tmp/$MYNAME.XXX)
CSV=$CRYPT.csv
MNT=$CRYPT.mnt
diff --git a/tests/stress_tests/pingpong.bash b/tests/stress_tests/pingpong.bash
index 02aabc9..37670cc 100755
--- a/tests/stress_tests/pingpong.bash
+++ b/tests/stress_tests/pingpong.bash
@@ -14,8 +14,8 @@ MYNAME=$(basename $0)
source ../fuse-unmount.bash
# Setup
+../dl-linux-tarball.bash
cd /tmp
-wget -nv --show-progress -c https://www.kernel.org/pub/linux/kernel/v3.0/linux-3.0.tar.gz
PING=$(mktemp -d ping.XXX)
PONG=$(mktemp -d pong.XXX)