From 325bd9868711cfe8ed30b7d2e522de762baa192f Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 21 Nov 2022 13:27:58 +0100 Subject: setup-apkrepos: add test for fastest mirror (-f) --- tests/bin/wget | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/bin/wget') 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 -- cgit v1.2.3