aboutsummaryrefslogtreecommitdiffstats
path: root/misc/test/genfiles.sh
diff options
context:
space:
mode:
Diffstat (limited to 'misc/test/genfiles.sh')
-rwxr-xr-xmisc/test/genfiles.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/misc/test/genfiles.sh b/misc/test/genfiles.sh
new file mode 100755
index 0000000..10c49d4
--- /dev/null
+++ b/misc/test/genfiles.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Generates 100000 files in the current directory
+
+i=1; while [ $i -le 100000 ]; do
+ mktemp -p . -t 'XXXXXXXXXXXXXXXXXXXXX'
+ i=$(( i + 1 ))
+done