changeset 58:2e7fba6d7cad

Fix testdata in VCS, add comment to generate* script
author Lewin Bormann <lbo@spheniscida.de>
date Fri, 05 Feb 2016 21:38:25 +0000
parents 27f4cbaa0045
children 359c981afa71
files .hgignore testdata/generate_sorted_files.sh
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Fri Feb 05 21:24:38 2016 +0000
+++ b/.hgignore	Fri Feb 05 21:38:25 2016 +0000
@@ -4,3 +4,4 @@
 *.swp
 *.bk
 *.wlg
+testdata/*.txt
--- a/testdata/generate_sorted_files.sh	Fri Feb 05 21:24:38 2016 +0000
+++ b/testdata/generate_sorted_files.sh	Fri Feb 05 21:38:25 2016 +0000
@@ -1,5 +1,9 @@
 #!/bin/bash
 
+# This script generates 11 files with random alphanumeric strings.
+# Those are used by certain tests to test and measure the performance of
+# sharded sort implementations.
+
 for I in {0..10}; do
     cat /dev/urandom | tr -dc "\n[:alnum:]" | egrep '[[:alnum:]]{15,}' | colrm 16 | head -n 1000000 | sort > sorted${I}.txt;
 done