From 59e44cbcefc50e1866b666eaa884456940d9a5ca Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 29 Aug 2011 13:43:59 -0600 Subject: [PATCH] added double quotes --- json-chat-nodejs/tests.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/json-chat-nodejs/tests.sh b/json-chat-nodejs/tests.sh index 040bd8b..3cc7330 100644 --- a/json-chat-nodejs/tests.sh +++ b/json-chat-nodejs/tests.sh @@ -3,7 +3,7 @@ HOST=localhost:5080 # immediatley adds a message to RoomA -curl --silent http://${HOST}/RoomA \ +curl --silent "http://${HOST}/RoomA" \ -X POST \ -H 'Content-Type: application/json' \ -d '{ @@ -16,7 +16,7 @@ curl --silent http://${HOST}/RoomA \ # immediatley adds a message to RoomB -curl --silent http://${HOST}/RoomB \ +curl --silent "http://${HOST}/RoomB" \ -X POST \ -H 'Content-Type: application/json' \ -d '{ @@ -30,7 +30,7 @@ curl --silent http://${HOST}/RoomB \ # should get the message let WHEN=`date +%s`000-10000 # 10 seconds ago let THEN=`date +%s`000+10000 # 10 seconds from now -curl --silent http://${HOST}/RoomA?since=${WHEN}&until=${THEN} \ +curl --silent "http://${HOST}/RoomA?since=${WHEN}&until=${THEN}" \ -X POST \ -H 'Content-Type: application/json' \ -d '{ @@ -48,7 +48,7 @@ curl --silent http://${HOST}/RoomA?since=${WHEN}&until=${THEN} \ # this should post to RoomA and be seen in the request above sleep 5 -curl --silent http://${HOST}/RoomA \ +curl --silent "http://${HOST}/RoomA" \ -X POST \ -H 'Content-Type: application/json' \ -d '{