-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial code of runtimetest command #10
Comments
We can add more test cases and support other runtimes if they have wrappers to CLI similar to runc. |
@mrunalp To "if they have wrappers to CLI similar to runc", do u mean by a lib like factory created in ocitools repo or a 3rd tools? Any reference disscution about this? |
On Thu, Jan 28, 2016 at 11:20:07PM -0800, LinZhinan(Zen Lin) wrote:
My preference here would be to use 1 to define the command line API |
@wking I am going to pay close attention on [1]: https://github.com/wking/oci-command-line-api. |
@mrunalp
What do u think about these two ways? |
@zenlinTechnofreak close since we have another PR to work on this. |
…mmary-limit CONTRIBUTING: Don't specify a 50-char limit
I have add the initial cod of runtimetest command, to replace runtime_test.sh.
Reference issuses:
Support test cases #7
Convert test_runtime.sh into a go program #8
Now, the result shows as below:
# ./ocitools runtimetest -r runc -o all INFO[0001] successful Details: INFO[0001] =============================================================================================== INFO[0001] BundleName: process1 BundleDir: bundles/process1 CaseArgs: --args=./runtimetest --rootfs=rootfs --read-only=true TestResult: SUCCESS INFO[0001] BundleName: hostname0 BundleDir: bundles/hostname0 CaseArgs: --args=./runtimetest --rootfs=rootfs --hostname=zenlin TestResult: SUCCESS INFO[0001] BundleName: process0 BundleDir: bundles/process0 CaseArgs: --args=./runtimetest --rootfs=rootfs --read-only=false TestResult: SUCCESS INFO[0001] failure Details: INFO[0001] =============================================================================================== INFO[0001] =============================================================================================== INFO[0001] statistics: 3 bundles success, 0 bundles failed
My plan as below,
what is your suggestion about this? @mrunalp
The text was updated successfully, but these errors were encountered: