blob: cb7219dd4ebb47be427ef5312d0ab2831058ed5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
set -e
TEST_PSEUDOTCP="$1"
cleanup() {
rm -rf rand rand-copy
}
trap cleanup EXIT
dd if=/dev/urandom of=rand count=1024 ibs=1024
"${TEST_PSEUDOTCP}" rand rand-copy
diff rand rand-copy
|