summaryrefslogtreecommitdiffstats
path: root/tests/libptxdisttest.sh
diff options
context:
space:
mode:
authorJochen Frieling <j.frieling@pengutronix.de>2008-06-18 17:58:11 +0000
committerJochen Frieling <j.frieling@pengutronix.de>2008-06-18 17:58:11 +0000
commit27d6bf7bdb9a10f48bd6261643df9cecdf9da6e3 (patch)
treec91d982858c485873205c8d1ad9d5ccd253942a6 /tests/libptxdisttest.sh
parenta07748bbe73abca493e65967071ed18b9c7cee21 (diff)
downloadptxdist-27d6bf7bdb9a10f48bd6261643df9cecdf9da6e3.tar.gz
ptxdist-27d6bf7bdb9a10f48bd6261643df9cecdf9da6e3.tar.xz
* libptxdisttest.sh: eliminate sed-on-target dependency and check for proper rsh on host
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8530 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'tests/libptxdisttest.sh')
-rw-r--r--tests/libptxdisttest.sh15
1 files changed, 12 insertions, 3 deletions
diff --git a/tests/libptxdisttest.sh b/tests/libptxdisttest.sh
index 16acef968..e935561b3 100644
--- a/tests/libptxdisttest.sh
+++ b/tests/libptxdisttest.sh
@@ -135,9 +135,18 @@ remote_file() {
}
all_on_board() {
- checking "for sed on target"
- remote_file "/bin/sed" executable
- result fatal
+ if test "$SSH_COMMAND" = "rsh"
+ then
+ checking "for local real rsh availability"
+ rsh 2>&1 | grep "usage: rsh"
+ result fatal
+ fi
+ if test "$SSH_COMMAND" = "ssh"
+ then
+ checking "for local ssh availability"
+ ssh 2>&1 | grep "usage: ssh"
+ result fatal
+ fi
checking "for grep on target"
remote_file "/bin/grep" executable
result fatal