tests: allow arguments to be passed to create_basic_container function

This commit is contained in:
Sameer Naik
2015-09-09 19:24:29 +05:30
parent bc1df8947f
commit c56fe2ed69

View File

@@ -32,7 +32,7 @@ cleanup_volumes_content() {
}
create_basic_container(){
docker run -d --name $CONTAINER_NAME $IMAGE_NAME; sleep $SLEEP_TIME
docker run -d --name $CONTAINER_NAME "$@" $IMAGE_NAME; sleep $SLEEP_TIME
}
# $1 is the command