summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2009-01-14 14:30:51 +0000
committerWolfram Sang <w.sang@pengutronix.de>2009-01-14 14:30:51 +0000
commitd9fb3892212762a92a111a919a0435b31bdbbccc (patch)
tree0dfbefeae5a4d9aff65a3938266948528120c8ca /tests
parenteda0e51972827ac0e9c16b1e3127ca50508a5b01 (diff)
downloadptxdist-d9fb3892212762a92a111a919a0435b31bdbbccc.tar.gz
ptxdist-d9fb3892212762a92a111a919a0435b31bdbbccc.tar.xz
* tests: - add check if connecting to telnet-port was successful
- change "All OK!" message as it was said to be senseless and bad English git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9542 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'tests')
-rw-r--r--tests/libptxdisttest.kermit3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/libptxdisttest.kermit b/tests/libptxdisttest.kermit
index 5419cb1b4..1b93cb504 100644
--- a/tests/libptxdisttest.kermit
+++ b/tests/libptxdisttest.kermit
@@ -33,6 +33,7 @@ define ptx_init {
set stop-bits 1
} else {
set host \m(PTXCONF_BOARDSETUP_SERIALPORT)
+ ptx_check_fail "Could not connect to port (\m(PTXCONF_BOARDSETUP_SERIALPORT))!"
set terminal echo remote
}
set carrier-watch off
@@ -56,7 +57,7 @@ define ptx_exit {
if = \m(uboot_version) 1 {
ptx_uboot_exec 5 " "
}
- writeln ERROR "\m(green)All OK!\m(nocolor)"
+ writeln ERROR "\m(green)Test finished successfully.\m(nocolor)"
exit 0
}