diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-05-20 14:35:59 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-05-20 14:35:59 +0100 |
commit | aa7ad950590dffef2a7dc37135c763e9890a5b9e (patch) | |
tree | 3cf5156554d3bd89f86cf4142af0f7a944e110c9 /mk-test-data | |
download | xfer-hole-aa7ad950590dffef2a7dc37135c763e9890a5b9e.tar.gz |
Initial commit
Diffstat (limited to 'mk-test-data')
-rwxr-xr-x | mk-test-data | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/mk-test-data b/mk-test-data new file mode 100755 index 0000000..57a3213 --- /dev/null +++ b/mk-test-data @@ -0,0 +1,32 @@ +#!/bin/sh + +data() +{ + echo -n "foobar" >> "$1" +} + +hole() +{ + truncate --size +10240 "$1" +} + + +touch test.empty + +data test.data + +hole test.hole + +data test.data-hole +hole test.data-hole + +hole test.hole-data +data test.hole-data + +data test.data-hole-data +hole test.data-hole-data +data test.data-hole-data + +hole test.hole-data-hole +data test.hole-data-hole +hole test.hole-data-hole |