CI border router tests: rename *.tunsliplog to *.tunslip.log to comply with .gitignore
This commit is contained in:
parent
87d57583e5
commit
53dd64a8c8
|
@ -23,7 +23,7 @@ sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0
|
||||||
# Connect to the simlation
|
# Connect to the simlation
|
||||||
echo "Starting tunslip6"
|
echo "Starting tunslip6"
|
||||||
make -C $CONTIKI/tools tunslip6
|
make -C $CONTIKI/tools tunslip6
|
||||||
make -C $CONTIKI/examples/rpl-border-router/ connect-router-cooja TARGET=zoul >> $BASENAME.tunsliplog 2>&1 &
|
make -C $CONTIKI/examples/rpl-border-router/ connect-router-cooja TARGET=zoul >> $BASENAME.tunslip.log 2>&1 &
|
||||||
MPID=$!
|
MPID=$!
|
||||||
echo "Waiting for network formation"
|
echo "Waiting for network formation"
|
||||||
sleep 5
|
sleep 5
|
||||||
|
@ -49,10 +49,10 @@ else
|
||||||
# Verbose output when using CI
|
# Verbose output when using CI
|
||||||
if [ "$CI" = "true" ]; then
|
if [ "$CI" = "true" ]; then
|
||||||
echo "==== $BASENAME.coojalog ====" ; cat $BASENAME.coojalog;
|
echo "==== $BASENAME.coojalog ====" ; cat $BASENAME.coojalog;
|
||||||
echo "==== $BASENAME.tunsliplog ====" ; cat $BASENAME.tunsliplog;
|
echo "==== $BASENAME.tunslip.log ====" ; cat $BASENAME.tunslip.log;
|
||||||
echo "==== $BASENAME.scriptlog ====" ; cat $BASENAME.scriptlog;
|
echo "==== $BASENAME.scriptlog ====" ; cat $BASENAME.scriptlog;
|
||||||
else
|
else
|
||||||
echo "==== Check $BASENAME.coojalog, $BASENAME.tunsliplog, and $BASENAME.scriptlog for details ====";
|
echo "==== Check $BASENAME.coojalog, $BASENAME.tunslip.log, and $BASENAME.scriptlog for details ====";
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
printf "%-32s TEST FAIL\n" "$BASENAME" | tee $BASENAME.testlog;
|
printf "%-32s TEST FAIL\n" "$BASENAME" | tee $BASENAME.testlog;
|
||||||
|
|
|
@ -21,7 +21,7 @@ sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0
|
||||||
# Connect to the simlation
|
# Connect to the simlation
|
||||||
echo "Starting tunslip6"
|
echo "Starting tunslip6"
|
||||||
make -C $CONTIKI/tools tunslip6
|
make -C $CONTIKI/tools tunslip6
|
||||||
make -C $CONTIKI/examples/rpl-border-router/ connect-router-cooja TARGET=zoul >> $BASENAME.tunsliplog 2>&1 &
|
make -C $CONTIKI/examples/rpl-border-router/ connect-router-cooja TARGET=zoul >> $BASENAME.tunslip.log 2>&1 &
|
||||||
MPID=$!
|
MPID=$!
|
||||||
echo "Waiting for network formation"
|
echo "Waiting for network formation"
|
||||||
sleep 5
|
sleep 5
|
||||||
|
@ -46,10 +46,10 @@ else
|
||||||
# Verbose output when using CI
|
# Verbose output when using CI
|
||||||
if [ "$CI" = "true" ]; then
|
if [ "$CI" = "true" ]; then
|
||||||
echo "==== $BASENAME.coojalog ====" ; cat $BASENAME.coojalog;
|
echo "==== $BASENAME.coojalog ====" ; cat $BASENAME.coojalog;
|
||||||
echo "==== $BASENAME.tunsliplog ====" ; cat $BASENAME.tunsliplog;
|
echo "==== $BASENAME.tunslip.log ====" ; cat $BASENAME.tunslip.log;
|
||||||
echo "==== $BASENAME.scriptlog ====" ; cat $BASENAME.scriptlog;
|
echo "==== $BASENAME.scriptlog ====" ; cat $BASENAME.scriptlog;
|
||||||
else
|
else
|
||||||
echo "==== Check $BASENAME.coojalog, $BASENAME.tunsliplog, and $BASENAME.scriptlog for details ====";
|
echo "==== Check $BASENAME.coojalog, $BASENAME.tunslip.log, and $BASENAME.scriptlog for details ====";
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
printf "%-32s TEST FAIL\n" "$BASENAME" | tee $BASENAME.testlog;
|
printf "%-32s TEST FAIL\n" "$BASENAME" | tee $BASENAME.testlog;
|
||||||
|
|
Loading…
Reference in New Issue