diff --git a/fixtures/generate_files.sh b/fixtures/generate_files.sh index b021776..9296b8f 100755 --- a/fixtures/generate_files.sh +++ b/fixtures/generate_files.sh @@ -15,7 +15,7 @@ OUTPUT_FOLDER=$3 mkdir -p "$OUTPUT_FOLDER" # Generate a random 4-character string -RANDOM_STRING=$(LC_ALL=C tr -dc 'a-zA-Z0-9' < /dev/urandom | head -c 4) +RANDOM_STRING=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 4) # Generate the files for (( i=1; i<=$NUMBER_OF_FILES; i++ )) diff --git a/netsim/sims/iroh/iroh_many_files.json b/netsim/sims/iroh/iroh_many_files.json index 44aa4d9..f0b6424 100644 --- a/netsim/sims/iroh/iroh_many_files.json +++ b/netsim/sims/iroh/iroh_many_files.json @@ -19,7 +19,7 @@ { "name": "iroh_get", "count": 1, - "cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blobs get --start %s --out /dev/null", "type": "public", "connect": { "strategy": "params", @@ -48,7 +48,7 @@ { "name": "iroh_get", "count": 3, - "cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blobs get --start %s --out /dev/null", "type": "public", "connect": { "strategy": "params", @@ -77,7 +77,7 @@ { "name": "iroh_get", "count": 1, - "cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blobs get --start %s --out /dev/null", "type": "public", "connect": { "strategy": "params", @@ -106,7 +106,7 @@ { "name": "iroh_get", "count": 3, - "cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blobs get --start %s --out /dev/null", "type": "public", "connect": { "strategy": "params", @@ -135,7 +135,7 @@ { "name": "iroh_get", "count": 1, - "cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blobs get --start %s --out /dev/null", "type": "public", "connect": { "strategy": "params", @@ -164,7 +164,7 @@ { "name": "iroh_get", "count": 3, - "cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blobs get --start %s --out /dev/null", "type": "public", "connect": { "strategy": "params", @@ -193,7 +193,7 @@ { "name": "iroh_get", "count": 1, - "cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blobs get --start %s --out /dev/null", "type": "public", "connect": { "strategy": "params", @@ -222,7 +222,7 @@ { "name": "iroh_get", "count": 3, - "cmd": "time ./bins/iroh blobs get --start %s --out STDOUT > /dev/null", + "cmd": "time ./bins/iroh blobs get --start %s --out /dev/null", "type": "public", "connect": { "strategy": "params",