Fix the path for wpcapslip in testscript for Instant Contiki

This commit is contained in:
Yasuyuki Tanaka 2016-05-12 21:13:41 +02:00
parent 98fcac15cd
commit 633bf09f6d
2 changed files with 2 additions and 2 deletions

View file

@ -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'";

View file

@ -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'";