This repository has been archived on 2021-10-31. You can view files and clone it, but cannot push or open issues or pull requests.
sys_prog/splitter/tests/test2.sh

9 lines
259 B
Bash
Raw Normal View History

2019-10-20 12:38:25 +00:00
#!/bin/sh
TMP=`rm -rf tests/dir2`
TMP=`mkdir tests/dir2`
TMP=`cp tests/src/*.txt tests/dir2`
TMP=`./splitter split tests/dir2/file.txt 4`
TMP=`./splitter merge tests/dir2/file.txt.index tests/dir2/newfile.txt`
diff tests/dir2/file.txt tests/dir2/newfile.txt