qa: update 660 to generate index.html, fixing pcp-testsuite runs
[pcp.git] / qa / 1005
blob628ca952d18cb54930fc42c0a44c1aa63d260149
1 #!/bin/sh
2 # PCP QA Test No. 1005
3 # Check handling of missing plot title keyword - caused SEGV,
4 # observed while hand-crafting config file for interactive QA
5 # in the Settings dialog.
7 seq=`basename $0`
8 echo "QA output created by $seq"
10 status=0 # success is the default!
11 . ./common.qt
12 trap "_cleanup_qt; exit \$status" 0 1 2 3 15
14 _check_display
15 which pmchart >/dev/null 2>&1 || _notrun "pmchart not installed"
17 # real QA test starts here
18 cat <<End-of-File | pmchart -c - -C 2>&1 | _filter_views
19 #kmchart
20 version 1
21 chart title "Settings Color Test" style stacking
22 plot "01" metric sample.hordes.one instance "1"
23 End-of-File
25 exit