Merge pull request #1660 from yatch/pr-fix-wpcapslip-path
Fix the path for wpcapslip in testscript for Instant Contiki
This commit is contained in:
commit
366231f601
|
@ -151,7 +151,7 @@ if (travis == null) {
|
||||||
/* Instant Contiki */
|
/* Instant Contiki */
|
||||||
CMD_TUNNEL = "echo '-vj' > ~/.slirprc && make Connect.class && java Connect 'nc localhost 60001' 'script -t -f -c slirp'";
|
CMD_TUNNEL = "echo '-vj' > ~/.slirprc && make Connect.class && java Connect 'nc localhost 60001' 'script -t -f -c slirp'";
|
||||||
CMD_PING = "ping -c 5 8.8.8.8";
|
CMD_PING = "ping -c 5 8.8.8.8";
|
||||||
CMD_DIR = "../../wpcapslip";
|
CMD_DIR = "../../tools/wpcapslip";
|
||||||
} else {
|
} else {
|
||||||
/* Travis */
|
/* Travis */
|
||||||
CMD_TUNNEL = "cd $TRAVIS_BUILD_DIR/tools/wpcapslip && sudo apt-get install slirp && echo '-vj' > ~/.slirprc && make Connect.class && java Connect 'nc localhost 60001' 'script -t -f -c slirp'";
|
CMD_TUNNEL = "cd $TRAVIS_BUILD_DIR/tools/wpcapslip && sudo apt-get install slirp && echo '-vj' > ~/.slirprc && make Connect.class && java Connect 'nc localhost 60001' 'script -t -f -c slirp'";
|
||||||
|
|
|
@ -9,7 +9,7 @@ if (travis == null) {
|
||||||
/* Instant Contiki */
|
/* Instant Contiki */
|
||||||
CMD_TUNNEL = "echo '-vj' > ~/.slirprc && make Connect.class && java Connect 'nc localhost 60001' 'script -t -f -c slirp'";
|
CMD_TUNNEL = "echo '-vj' > ~/.slirprc && make Connect.class && java Connect 'nc localhost 60001' 'script -t -f -c slirp'";
|
||||||
CMD_PING = "ping -c 5 8.8.8.8";
|
CMD_PING = "ping -c 5 8.8.8.8";
|
||||||
CMD_DIR = "../../wpcapslip";
|
CMD_DIR = "../../tools/wpcapslip";
|
||||||
} else {
|
} else {
|
||||||
/* Travis */
|
/* Travis */
|
||||||
CMD_TUNNEL = "cd $TRAVIS_BUILD_DIR/tools/wpcapslip && sudo apt-get install slirp && echo '-vj' > ~/.slirprc && make Connect.class && java Connect 'nc localhost 60001' 'script -t -f -c slirp'";
|
CMD_TUNNEL = "cd $TRAVIS_BUILD_DIR/tools/wpcapslip && sudo apt-get install slirp && echo '-vj' > ~/.slirprc && make Connect.class && java Connect 'nc localhost 60001' 'script -t -f -c slirp'";
|
||||||
|
|
Loading…
Reference in a new issue