blob: 77f56fd4b8b930c249f5eebdff3a365d17cc5c76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
#
# verify that CVE-2019-14541 is fixed
#
cd debian/tests
echo "info: compiling"
(cobc cve-2019-14541.cob > $AUTOPKGTEST_TMP/cve-2019-14541.act 2>&1)
echo "info: running"
cmp -s cve-2019-14541.exp $AUTOPKGTEST_TMP/cve-2019-14541.act
res=$?
if [ $res = 0 ] ; then
echo "success: cve-2019-14541 produced proper results"
else
echo "error: cve-2019-14541 did not produce proper results"
diff -u cve-2019-14541.exp $AUTOPKGTEST_TMP/cve-2019-14541.act
fi
exit $res
|