summaryrefslogtreecommitdiff
path: root/tests/bin/wget
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2022-11-21 13:27:58 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2022-11-21 13:27:58 +0100
commit325bd9868711cfe8ed30b7d2e522de762baa192f (patch)
tree0655708ff34ec07ecb7561db095dd9ad3f4776bc /tests/bin/wget
parent15d7b8dc21e77acc343a94d7869764caae7f497d (diff)
downloadalpine-conf-325bd9868711cfe8ed30b7d2e522de762baa192f.zip
setup-apkrepos: add test for fastest mirror (-f)
Diffstat (limited to 'tests/bin/wget')
-rwxr-xr-xtests/bin/wget4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/bin/wget b/tests/bin/wget
index 77144b9..ad5f235 100755
--- a/tests/bin/wget
+++ b/tests/bin/wget
@@ -33,7 +33,7 @@ msg() {
fi
}
-OPTS=$(getopt -l quiet,help,spider -o "qhO:" -n $prog -- "$@") || usage "1" >&2
+OPTS=$(getopt -l quiet,help,spider,timeout,tries -o "qhO:T:t:" -n $prog -- "$@") || usage "1" >&2
quiet=
eval set -- "$OPTS"
@@ -53,6 +53,8 @@ while true; do
shift
outfile="$1"
;;
+ -T|--timeout) shift;;
+ -t|--tries) shift;;
--)
shift
break