summaryrefslogtreecommitdiff
path: root/tests/sync/too-short-header
blob: e7e844a752888142695cc878ca8ad8026bd58222 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

TEST="$0"
OUT="reports/$TEST/stdout"
ERR="reports/$TEST/stderr"

../server -s - > "$OUT" 2> "$ERR" << EOF
SYNC 18
START = 10
END = 20
EOF

if [ -s "$OUT" ]; then
	echo "Expected no output, but something showed up"
	exit 1
fi