1119ec943f
This patch introduces base integration test that verifies messaging loop between agent and server, command execution and report generation. Shaker in tested in standalone mode, without intergration with OpenStack. Change-Id: I8fdc63abdf0be0fc67c3b438bbfc1cf2f69c9f15
13 lines
226 B
Bash
Executable File
13 lines
226 B
Bash
Executable File
#!/bin/bash
|
|
|
|
LOGDIR=$1
|
|
|
|
SUBUNIT_FILE="${LOGDIR}/job.subunit"
|
|
HTML_FILE="${LOGDIR}/job.html"
|
|
|
|
ls ${LOGDIR}/*.subunit | xargs cat > ${SUBUNIT_FILE}
|
|
|
|
subunit2html ${SUBUNIT_FILE} ${HTML_FILE}
|
|
|
|
cat ${SUBUNIT_FILE} | subunit-stats
|