aboutsummaryrefslogtreecommitdiff
path: root/test/008-unwritable-outfile.test/run.sh
blob: 60336ae8cfad767e17c931f2fae68aee59bbebac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

touch 001-track.raw
chmod -w 001-track.raw

echo -e '0:0:0\n1:0:0' | ${EXECUTABLE} -r 1 -c 1 -i /dev/null -s 1 -n -track.raw

if [ $? -eq 0 ]; then
	exit 1
else
	rm -f 001-track.raw
	exit 0
fi