run: check XML syntax of generated config files

Fixes #1005.
This commit is contained in:
Christian Helmuth
2014-06-26 16:37:59 +02:00
committed by Norman Feske
parent 2c8f814c66
commit 24941ffaeb
2 changed files with 21 additions and 0 deletions

View File

@@ -17,6 +17,8 @@ proc install_config {config} {
set fh [open "[run_dir]/config" "WRONLY CREAT TRUNC"]
puts $fh $config
close $fh
check_xml_syntax [run_dir]/config
}