File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ CWD="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
2020# ##
2121RAND_DIR=" $( mktemp -d ) "
2222RAND_NAME=" $( get_random_name ) "
23- echo " hello world" > " ${RAND_DIR} /index.html"
23+ run " echo \ " hello world\ " > ${RAND_DIR} /index.html"
2424
2525
2626# ##
@@ -45,7 +45,7 @@ run "docker run -d --rm \
4545# ##
4646# ## Tests
4747# ##
48- sleep 5
48+ run " sleep 5"
4949run " docker ps"
5050run " docker logs ${RAND_NAME} "
5151run " curl localhost"
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ CWD="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
2121RAND_DIR=" $( mktemp -d ) "
2222RAND_NAME1=" $( get_random_name ) "
2323RAND_NAME2=" $( get_random_name ) "
24- echo " <?php echo 'hello world php';" > " ${RAND_DIR} /index.php"
24+ run " echo \ " <?php echo 'hello world php';\ " > ${RAND_DIR} /index.php"
2525
2626
2727# ##
@@ -57,7 +57,7 @@ run "docker run -d --rm \
5757# ##
5858# ## Tests
5959# ##
60- sleep 5
60+ run " sleep 5"
6161run " docker ps"
6262run " docker logs ${RAND_NAME1} "
6363run " docker logs ${RAND_NAME2} "
You can’t perform that action at this time.
0 commit comments