Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Conversation

@gnawux
Copy link
Member

@gnawux gnawux commented Apr 3, 2017

fix #555

before patch:

➜ sudo ./hyperctl exec -m busybox-2857568349 sh -c 'echo aaa'
➜ sudo ./hyperctl exec -m busybox-2857568349 sh -c 'echo aaa'
aaa
➜ sudo ./hyperctl exec -m busybox-2857568349 sh -c 'echo aaa'
➜ sudo ./hyperctl exec -m busybox-2857568349 sh -c 'echo aaa'
➜ sudo ./hyperctl exec -m busybox-2857568349 sh -c 'echo aaa'
➜ sudo ./hyperctl exec -m busybox-2857568349 sh -c 'echo aaa'
aaa
➜ sudo ./hyperctl exec -m busybox-2857568349 sh -c 'echo aaa'
aaa
➜ sudo ./hyperctl exec -m busybox-2857568349 sh -c 'echo aaa'
aaa
➜

after this patch:

➜ for i in `seq 1 1000`; do x=$(sudo ./hyperctl exec -m busybox-1102769742 sh -c 'echo aaa'); [ "${x}x" != "aaax" ] && echo "fail" ; done
➜

Signed-off-by: Wang Xu gnawux@gmail.com

fix hyperhq#555

before patch:

```
➜ sudo ./hyperctl exec -m busybox-2857568349 sh -c 'echo aaa'
➜ sudo ./hyperctl exec -m busybox-2857568349 sh -c 'echo aaa'
aaa
➜ sudo ./hyperctl exec -m busybox-2857568349 sh -c 'echo aaa'
➜ sudo ./hyperctl exec -m busybox-2857568349 sh -c 'echo aaa'
➜ sudo ./hyperctl exec -m busybox-2857568349 sh -c 'echo aaa'
➜ sudo ./hyperctl exec -m busybox-2857568349 sh -c 'echo aaa'
aaa
➜ sudo ./hyperctl exec -m busybox-2857568349 sh -c 'echo aaa'
aaa
➜ sudo ./hyperctl exec -m busybox-2857568349 sh -c 'echo aaa'
aaa
➜
```

after this patch:

```
➜ for i in `seq 1 1000`; do x=$(sudo ./hyperctl exec -m busybox-1102769742 sh -c 'echo aaa'); [ "${x}x" != "aaax" ] && echo "fail" ; done
➜
```

Signed-off-by: Wang Xu <gnawux@gmail.com>
@gnawux gnawux added this to the v0.8.1 milestone Apr 3, 2017
@laijs laijs merged commit 279b2f1 into hyperhq:master Apr 3, 2017
@gnawux gnawux deleted the fix_execvm branch April 7, 2017 00:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

hyper::test::execvm() test failure

2 participants