xmllint a KDM that we generate.
authorCarl Hetherington <cth@carlh.net>
Sat, 21 Sep 2013 10:54:12 +0000 (11:54 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 21 Sep 2013 10:54:12 +0000 (11:54 +0100)
test/encryption_test.cc

index 888011aa22f3eabc67cfadad19abcf6b57024dab..6e4a61d66df470d2dd5c3301e485c59a4a41c187 100644 (file)
@@ -99,4 +99,5 @@ BOOST_AUTO_TEST_CASE (encryption)
                );
 
        kdm->write_to_file_formatted ("build/test/bar.kdm.xml", "UTF-8");
+       system ("xmllint --path schema --nonet --noout --schema schema/SMPTE-430-1-2006-Amd-1-2009-KDM.xsd build/test/bar.kdm.xml");
 }