Skip to content

Commit 9ec6729

Browse files
liushengshin-
authored andcommitted
Fix wrong docker daemon process name of engine options tests
Signed-off-by: liusheng <liusheng@huawei.com>
1 parent 6c90ba4 commit 9ec6729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/core/engine-options.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ use_disposable_machine
2828

2929
@test "$DRIVER: test docker process envs" {
3030
# get pid of docker process, check process envs for set Environment Variable from above test
31-
run machine ssh $NAME 'sudo cat /proc/$(pgrep -f "docker [d]aemon")/environ'
31+
run machine ssh $NAME 'sudo cat /proc/$(pgrep -f $(which dockerd))/environ'
3232
echo ${output}
3333
[ $status -eq 0 ]
3434
[[ "${output}" =~ "TEST=VALUE" ]]

0 commit comments

Comments
 (0)