kopia lustrzana https://github.com/weetmuts/wmbusmeters
Only run the netcat tests if nc is installed.
rodzic
3d296ac262
commit
0439a45e20
16
test.sh
16
test.sh
|
@ -168,14 +168,18 @@ then
|
|||
(cd ..; ./additional_tests.sh $PROG)
|
||||
fi
|
||||
|
||||
./tests/test_nc1.sh $PROG
|
||||
if [ "$?" != "0" ]; then RC="1"; fi
|
||||
# Only run the netcat tests if netcat is installed.
|
||||
if command -v nc > /dev/null 2> /dev/null
|
||||
then
|
||||
./tests/test_nc1.sh $PROG
|
||||
if [ "$?" != "0" ]; then RC="1"; fi
|
||||
|
||||
./tests/test_nc2.sh $PROG
|
||||
if [ "$?" != "0" ]; then RC="1"; fi
|
||||
./tests/test_nc2.sh $PROG
|
||||
if [ "$?" != "0" ]; then RC="1"; fi
|
||||
|
||||
./tests/test_nc3.sh $PROG
|
||||
if [ "$?" != "0" ]; then RC="1"; fi
|
||||
./tests/test_nc3.sh $PROG
|
||||
if [ "$?" != "0" ]; then RC="1"; fi
|
||||
fi
|
||||
|
||||
echo Slower tests...
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue