aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/test.sh b/scripts/test.sh
index 82cdbfa..a57c74c 100755
--- a/scripts/test.sh
+++ b/scripts/test.sh
@@ -65,9 +65,10 @@ function main() {
ip=$(curl -s https://am.i.mullvad.net)
debug "working on test $i/$num_test at relay $relay ($ip) with limit $limit sites/s"
+ shuf -o $tmp_dir/input.lst $input_file
stdout_file=$tmp_dir/$relay-$limit.stdout
stderr_file=$tmp_dir/$relay-$limit.stderr
- onion-grab -i $input_file -t $timeout -l $limit -w $num_workers >$stdout_file 2>$stderr_file
+ onion-grab -i $tmp_dir/input.lst -t $timeout -l $limit -w $num_workers >$stdout_file 2>$stderr_file
i=$(( $i + 1 ))
done