Debian Codegraph @

tests/broken1/run-test

raw
1 #!/bin/sh
2
3 . ${top_srcdir-.}/tests/common.sh
4
5 cat << EOF > broken_patch
6 --- file
7 +++ file
8 @@ -1,0 +1,0 @@
9 \ No newline at end of file
10 EOF
11
12 ${INTERDIFF} broken_patch broken_patch 2>errors >output && exit 1
13 [ -z errors ] && exit 1
14 [ -z `cat output` ] || exit 1
15 [ -f core ] && exit 1
16 exit 0