diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2008-08-11 15:42:24 +0000 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2008-08-11 15:42:24 +0000 |
commit | be27ce8b949ab03cfa7db5d855e081b19d1b878d (patch) | |
tree | 884a6bc32b74e22c4a33e739f3ed8952742117c5 /tests/libptxdisttest.sh | |
parent | 0255289d294cd89e693c39b08b8d743eb1f20307 (diff) | |
download | ptxdist-be27ce8b949ab03cfa7db5d855e081b19d1b878d.tar.gz ptxdist-be27ce8b949ab03cfa7db5d855e081b19d1b878d.tar.xz |
* make test function 'remote_busybox' return with proper value
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8739 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'tests/libptxdisttest.sh')
-rw-r--r-- | tests/libptxdisttest.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/libptxdisttest.sh b/tests/libptxdisttest.sh index 8f2291c42..3f7330430 100644 --- a/tests/libptxdisttest.sh +++ b/tests/libptxdisttest.sh @@ -146,13 +146,13 @@ remote_busybox() { local bbtest=$(remote "ps --help 2>&1 | grep ^BusyBox") 2>> "$LOGFILE" if [ "${bbtest:0:7}" = "BusyBox" ] then - BUSYBOX="true" - return 0 + BUSYBOX="0" else - BUSYBOX="false" - return 1 + BUSYBOX="1" fi fi + + return $BUSYBOX } remote_assure_process() { |