From 3d145dc54b46310228b170bf10eb7262400131aa Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Sat, 1 Apr 2023 20:44:28 +0200 Subject: Add shuf to test --- scripts/test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3