Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Arqu committed Aug 25, 2024
1 parent 6298239 commit 5ffae02
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion fixtures/generate_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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++ ))
Expand Down
16 changes: 8 additions & 8 deletions netsim/sims/iroh/iroh_many_files.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 5ffae02

Please sign in to comment.