README: more details about the format used for the map file
[ddsect.git] / test.sh
1 #!/bin/sh
2
3 set -e
4
5 # A 16MiB test file
6 dd if=/dev/urandom of=data.dump ibs=1M count=16
7
8 ./ddsect.sh info example.map
9 ./ddsect.sh split data.dump example.map
10 ./ddsect.sh join example.map new.dump
11
12 md5sum data.dump new.dump
13
14 rm -f data.dump new.dump *.bin