summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2009-01-14 12:09:43 +0000
committerWolfram Sang <w.sang@pengutronix.de>2009-01-14 12:09:43 +0000
commiteda0e51972827ac0e9c16b1e3127ca50508a5b01 (patch)
treeee3da97b7ce877df94c838204ae2653ef09b7fc3 /tests
parent9d47fbf66e58c0ebff5763777db45f8b73fc2fe1 (diff)
downloadptxdist-eda0e51972827ac0e9c16b1e3127ca50508a5b01.tar.gz
ptxdist-eda0e51972827ac0e9c16b1e3127ca50508a5b01.tar.xz
* tests: work around u-boot v1's "repeat last command" annoyance
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9541 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'tests')
-rw-r--r--tests/libptxdisttest.kermit4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/libptxdisttest.kermit b/tests/libptxdisttest.kermit
index b139f90af..5419cb1b4 100644
--- a/tests/libptxdisttest.kermit
+++ b/tests/libptxdisttest.kermit
@@ -52,6 +52,10 @@ define ptx_init {
define ptx_exit {
+ # output dummy command, so u-boot v1's "repeat last command with enter" won't do harm
+ if = \m(uboot_version) 1 {
+ ptx_uboot_exec 5 " "
+ }
writeln ERROR "\m(green)All OK!\m(nocolor)"
exit 0
}