libnice/tests/test-pseudotcp-random.sh
Tim-Philipp Müller 1e4272b436 Remove autotools build
Remove dist check on the CI, since it doesn't really
add anything in the Meson case (tarball is based
on files checked into git and srcdir != builddir).
2020-05-22 17:04:39 -04:00

15 lines
200 B
Bash
Executable file

#!/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