File: smoke-test

package info (click to toggle)
fling 1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 136 kB
  • sloc: ansic: 925; makefile: 33; sh: 16
file content (11 lines) | stat: -rwxr-xr-x 211 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -eu

./fling -r 12765 > flung.out &
sleep 1

dd status=none if=/dev/urandom bs=10247 count=102400 | tee fling.in | ./fling -vp localhost 12765
cmp fling.in flung.out
rm fling.in flung.out
echo OK