We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc6b676 commit 7fd96c1Copy full SHA for 7fd96c1
cmd/runtimetest/main.go
@@ -283,7 +283,7 @@ func validateDefaultDevices(spec *rspec.Spec) error {
283
return err
284
}
285
} else {
286
- if fi.Mode() != os.ModeDevice {
+ if fi.Mode()&os.ModeDevice != os.ModeDevice {
287
return fmt.Errorf("file %v is not a device as expected", device)
288
289
test_runtime.sh
@@ -78,7 +78,7 @@ tar -xf rootfs.tar.gz -C ${TESTDIR}
78
cp runtimetest ${TESTDIR}
79
80
pushd $TESTDIR > /dev/null
81
-ocitools generate --output config.json "${TEST_ARGS[@]}" --rootfs '.'
+ocitools generate --tty --output config.json "${TEST_ARGS[@]}" --rootfs '.'
82
popd > /dev/null
83
84
TESTCMD="${RUNTIME} start $(uuidgen)"
0 commit comments