added unittest for yaml export

This commit is contained in:
TLINDEN
2013-11-09 15:35:43 +01:00
parent aecf4cab74
commit c12d7345ae
2 changed files with 31 additions and 28 deletions

View File

@@ -204,6 +204,12 @@ dxmorg@florida.cops.gov
expect = /verified/
</test>
#
# yaml export test
<test check-export-yaml>
cmd = $pcp -V va -y | perl -MYAML -MData::Dumper -e "print Dumper(Load(join('',<>)))"
expect = /VAR1/
</test>
#
# negative tests, check for error handling