#!/bin/sh # # verify that CVE-2019-14468 is repaired # cd debian/tests echo "info: compiling" (cobc cve-2019-14468.cob > $AUTOPKGTEST_TMP/cve-2019-14468.act 2>&1) echo "info: running" cmp -s cve-2019-14468.exp $AUTOPKGTEST_TMP/cve-2019-14468.act res=$? if [ $res = 0 ] ; then echo "success: cve-2019-14468 produced proper results" else echo "error: cve-2019-14468 did not produce proper results" diff -u cve-2019-14468.exp $AUTOPKGTEST_TMP/cve-2019-14468.act fi exit $res