Skip to content

Commit

Permalink
NUSE: enable Travis CI test with loopback ping again
Browse files Browse the repository at this point in the history
  • Loading branch information
thehajime committed Nov 23, 2014
1 parent 52e261d commit 4c85f91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ compiler:
- gcc
script:
- make defconfig ARCH=sim && make clean ARCH=sim && make library ARCH=sim
# - ./arch/sim/test/nuse/nuse-test.sh
- ./arch/sim/test/nuse/nuse-test.sh
3 changes: 3 additions & 0 deletions arch/sim/test/nuse/nuse-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ route
ENDCONF

sudo NUSECONF=${NUSE_CONF} ./nuse ping 127.0.0.1 -c 1

if [ "$1" == "--extended" ] ; then
sudo NUSECONF=${NUSE_CONF} ./nuse ping ${GW} -c 1
sudo NUSECONF=${NUSE_CONF} ./nuse iperf -c 192.168.209.1 -p 2000 -t 3
sudo NUSECONF=${NUSE_CONF} ./nuse iperf -c 192.168.209.1 -p 8 -u -t 3
fi

0 comments on commit 4c85f91

Please sign in to comment.