summaryrefslogtreecommitdiff
path: root/test/apiv2
diff options
context:
space:
mode:
Diffstat (limited to 'test/apiv2')
-rw-r--r--test/apiv2/40-pods.at4
-rwxr-xr-xtest/apiv2/test-apiv22
2 files changed, 3 insertions, 3 deletions
diff --git a/test/apiv2/40-pods.at b/test/apiv2/40-pods.at
index 982100396..26877a102 100644
--- a/test/apiv2/40-pods.at
+++ b/test/apiv2/40-pods.at
@@ -11,8 +11,8 @@ t GET libpod/pods/foo/exists 204
t GET libpod/pods/$pod_id/exists 204
t GET libpod/pods/notfoo/exists 404
t GET libpod/pods/foo/json 200 \
- .Config.name=foo \
- .Config.id=$pod_id \
+ .Name=foo \
+ .Id=$pod_id \
.Containers\|length=1
t GET libpod/pods/json 200 \
.[0].Name=foo \
diff --git a/test/apiv2/test-apiv2 b/test/apiv2/test-apiv2
index b101be012..1af76b4be 100755
--- a/test/apiv2/test-apiv2
+++ b/test/apiv2/test-apiv2
@@ -355,7 +355,7 @@ done
if [ -n "$service_pid" ]; then
kill $service_pid
- wait -f $service_pid
+ wait $service_pid
fi
test_count=$(<$testcounter_file)