From 60dcff447c39d4ac2602895522f9d5a343d6cc87 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 8 Feb 2015 23:24:50 +0100 Subject: More adjustments to test start --- ROMFS/px4fmu_test/init.d/rcS | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'ROMFS/px4fmu_test/init.d') diff --git a/ROMFS/px4fmu_test/init.d/rcS b/ROMFS/px4fmu_test/init.d/rcS index a0f5bd098..b0c17b1af 100644 --- a/ROMFS/px4fmu_test/init.d/rcS +++ b/ROMFS/px4fmu_test/init.d/rcS @@ -112,7 +112,10 @@ fi adc start # XXX this syntax is not quite right, but if takes no flags (yet) -if [ hmc5883 -I -S start ] +if hmc5883 -I -S start +then +fi +if [ $? != 0 ] then # This is an FMUv1 or FMUv2 echo "FMUv2 (or FMUv3 where 'hmc5883 -I -S start' failed)" @@ -130,7 +133,9 @@ else ms5611 start fi -tests all +if tests all +then +fi if [ $? != 0 ] then set unit_test_failure 1 -- cgit v1.2.3