test_api_cve.sh | test_api_cve.sh | |||
---|---|---|---|---|
skipping to change at line 57 | skipping to change at line 57 | |||
ret_val=1 | ret_val=1 | |||
fi | fi | |||
else | else | |||
echo "Cannot export!" | echo "Cannot export!" | |||
ret_val=1 | ret_val=1 | |||
fi | fi | |||
return $ret_val | return $ret_val | |||
} | } | |||
function test_api_cve_export_all { | function test_api_cve_export_all { | |||
require "egrep" || return 255 | ||||
local ret_val=0 | local ret_val=0 | |||
./test_api_cve --test-export-all $srcdir/nvdcve-2.0-recent.xml "UTF-8" \ | ./test_api_cve --test-export-all $srcdir/nvdcve-2.0-recent.xml "UTF-8" \ | |||
export.out "UTF-8" | export.out "UTF-8" | |||
$srcdir/../../xmldiff.pl $srcdir/nvdcve-2.0-recent.xml export.out | \ | $srcdir/../../xmldiff.pl $srcdir/nvdcve-2.0-recent.xml export.out | \ | |||
egrep -v "[aA]ttribute 'lang'.*'references'|'schemaLocation'" | egrep -v "[aA]ttribute 'lang'.*'references'|'schemaLocation'" | |||
ret_val=$? | ret_val=$? | |||
return $ret_val | return $ret_val | |||
} | } | |||
# Testing. | # Testing. | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |