summaryrefslogtreecommitdiffstats
path: root/tests/libptxdisttest.sh
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2008-11-01 16:04:36 +0000
committerWolfram Sang <w.sang@pengutronix.de>2008-11-01 16:04:36 +0000
commit6ca567ff5cddf669e528e4c2e402b788060bd1d2 (patch)
tree75485e412966c60b8f5080a4c75143a2be4047e1 /tests/libptxdisttest.sh
parent6f7b6748ce18dd6be54c155c669c336b7d97d719 (diff)
downloadptxdist-6ca567ff5cddf669e528e4c2e402b788060bd1d2.tar.gz
ptxdist-6ca567ff5cddf669e528e4c2e402b788060bd1d2.tar.xz
* tests: add test_wraps for all_onboard
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9037 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'tests/libptxdisttest.sh')
-rw-r--r--tests/libptxdisttest.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/libptxdisttest.sh b/tests/libptxdisttest.sh
index 30dbba519..180ec2af8 100644
--- a/tests/libptxdisttest.sh
+++ b/tests/libptxdisttest.sh
@@ -276,25 +276,32 @@ remote_file() {
all_on_board() {
if test "$SSH_COMMAND" = "rsh"
then
+ test_begin
checking "for local real rsh availability"
rsh 2>&1 | grep -q "usage: rsh"
result fatal
+ test_end
fi
if test "$SSH_COMMAND" = "ssh"
then
+ test_begin
checking "for local ssh availability"
ssh 2>&1 | grep -q "usage: ssh"
result fatal
+ test_end
fi
+ test_begin
checking "for grep on target"
remote_file "/bin/grep" executable 2>> "$LOGFILE"
result fatal
+ test_end
+ test_begin
checking "for regular ps on target"
remote 'ps --help | grep -q "^-o"' 2>> "$LOGFILE"
result fatal
+ test_end
}
write_to_log() {
echo "$1" >> "$LOGFILE"
}
-