Skip to content

Commit

Permalink
Revise tests for docker-enter
Browse files Browse the repository at this point in the history
  • Loading branch information
YungSang committed Jun 28, 2014
1 parent 15e8bce commit b2c96b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ test: test/Vagrantfile boot2docker-virtualbox.box
docker ps -a; \
echo "-----> nc localhost 8080"; \
nc localhost 8080; \
echo '-----> docker-attach `docker ps -l -q` ps'; \
vagrant ssh -c 'docker-attach `docker ps -l -q` ps'; \
echo '-----> docker-enter `docker ps -l -q` ls -l'; \
vagrant ssh -c 'docker-enter `docker ps -l -q` ls -l'; \
vagrant suspend

ptest: DOCKER_HOST_IP=$(shell cd test; vagrant ssh-config | sed -n "s/[ ]*HostName[ ]*//gp")
Expand All @@ -43,8 +43,8 @@ ptest: ptestup
docker ps -a; \
echo "-----> nc ${DOCKER_HOST_IP} 8080"; \
nc ${DOCKER_HOST_IP} 8080; \
echo '-----> docker-attach `docker ps -l -q` ps'; \
vagrant ssh -c 'docker-attach `docker ps -l -q` ps'; \
echo '-----> docker-enter `docker ps -l -q` ls -l'; \
vagrant ssh -c 'docker-enter `docker ps -l -q` ls -l'; \
vagrant suspend

ptestup: test/Vagrantfile boot2docker-parallels.box
Expand Down

0 comments on commit b2c96b9

Please sign in to comment.