aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-04-04 09:57:21 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-04-04 09:57:21 +0530
commit5bd4a65b916136da3fef1ee8d4841dff494a1569 (patch)
tree47105c981903334a13898c6931247bc53fcfad2f /misc
parent73daf8be5b9eb86ff946b304cf0ff059971f2be4 (diff)
downloadnnn-5bd4a65b916136da3fef1ee8d4841dff494a1569.tar.gz
Add script to generate files
Diffstat (limited to 'misc')
-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