tommady
38186caf8c
adding test_get_set_refresh_status
2021-10-09 14:48:50 +00:00
tommady
632c9c8bb1
adding test_get_spec
2021-10-09 13:27:44 +00:00
tommady
183f45cf1e
enhancing test_basic_getter
2021-10-09 13:09:15 +00:00
tommady
5ce9b2b93e
adding test_refresh_load_save_state
2021-10-09 12:57:01 +00:00
tommady
af4abd8968
let refresh_status more sensible with using Result output
2021-10-09 09:51:10 +00:00
tommady
b3f8408328
adding test_get_set_creator
2021-10-09 09:09:39 +00:00
tommady
608eac02a3
adding test_get_set_systemd
2021-10-09 08:18:05 +00:00
tommady
e68d2eb3d2
adding test_set_annotations
2021-10-09 08:07:18 +00:00
tommady
dd909af77a
modify current two cases into more simple
2021-10-09 07:45:26 +00:00
utam0k
f1acccb654
Merge pull request #371 from utam0k/refactoring/namespace-init
...
organize the process around the namespace in init
2021-10-09 13:12:41 +09:00
utam0k
41d45e404a
Merge pull request #372 from yihuaf/yihuaf/seccomp_notify
...
Restructure the channel code once again
2021-10-08 22:27:06 +09:00
utam0k
c86c6bbdb8
Merge pull request #365 from tommady/279-increate-the-code-coverage-of-src-rootfs-part-6
...
part of PR 340 adding test_mount_to_container and separate rootfs file
2021-10-08 20:59:36 +09:00
yihuaf
aea09ac969
adds a little more coverage
2021-10-08 10:24:58 +02:00
utam0k
3ecac97720
remove a unnecessary clone method. ( #370 )
2021-10-08 01:10:34 -07:00
yihuaf
1b13c646f3
Adds comment explaining the design.
2021-10-08 10:03:37 +02:00
yihuaf
eb74c3b958
refactor channel code again
...
restructured the channel code to have a sender and receiver for
each of the process: main, intermediate, and init.
2021-10-08 09:58:54 +02:00
tommady
678b7f97d4
separate again into more rust way
2021-10-08 06:20:16 +00:00
utam0k
bdb17e9aa8
remove a unnecessary process.
2021-10-08 11:23:32 +09:00
utam0k
b020f53e96
cut out the part of namespace hunding into a function in init
2021-10-08 11:23:05 +09:00
utam0k
20c28d1bcc
rename command to syscall.
2021-10-08 11:22:10 +09:00
utam0k
07d925a3bb
Merge pull request #364 from yihuaf/yihuaf/oci-spec
...
Update Youki with latest oci-spec-rs
2021-10-07 21:12:36 +09:00
yihuaf
3c075f8aa5
clippy happy
2021-10-06 18:45:00 +02:00
yihuaf
bd21ba9001
change duration back to u64
2021-10-06 18:42:12 +02:00
yihuaf
b70929cb8c
update oci-spec-rs to latest.
...
remove TODO because it is already tracked by issue
2021-10-06 18:42:12 +02:00
yihuaf
6d8fa4daf9
update tenant builder
2021-10-06 18:42:12 +02:00
yihuaf
621a074401
rewrite rootless spec to use setters
2021-10-06 18:42:12 +02:00
yihuaf
1bcde45ca1
update to 0.5.2
2021-10-06 18:42:12 +02:00
tommady
c80b1c2c58
adding more mount_to_container case
2021-10-06 15:53:34 +00:00
tommady
ac4e93759f
fix the separate issue
2021-10-06 13:45:47 +00:00
tommady
c8ea27c062
separate the rootfs into folder with mod
2021-10-06 13:15:29 +00:00
utam0k
b5089f36b6
Merge pull request #360 from YJDoc2/add-test-utils
...
Combine test_framework and add README and guide for integration tests
2021-10-06 20:51:03 +09:00
Furisto
1e8329cb67
Merge pull request #363 from alfonsoros88/signal
...
Use generic for signal argument in container_kill
2021-10-06 13:45:11 +02:00
Yashodhan Joshi
b010b167da
Fix Typos in readme
2021-10-06 11:50:39 +05:30
Travis Sturzl
02b8f772bb
Check libseccomp is available at correct version on build ( #367 )
...
* check libseccomp version before build, better build output
2021-10-05 22:45:29 -07:00
utam0k
efd5ea0f9b
use the console for code blocks. ( #368 )
2021-10-05 22:41:21 -07:00
tommady
4707b17d04
fix integration test on creation container
2021-10-06 03:15:37 +00:00
tommady
20f99159fc
small beauty the mount_to_container func
2021-10-06 02:36:46 +00:00
utam0k
68d2c0b374
Merge pull request #362 from tommady/279-increate-the-code-coverage-of-src-rootfs-part-5
...
part of PR 340 adding test_bind_dev,test_mknod_dev and test_create_devices
2021-10-06 07:47:42 +09:00
Alfonso Ros
817e1b743c
Use generic for signal argument in container_kill
...
nix::sys::signal::Signal is part of the API for the kill related calls. This causes a problem for lib users when they have a different nix version.
This patch introduces a public youki::signal::Signal type to be used instead.
2021-10-05 19:05:58 +02:00
tommady
416a131ecd
addressed comments
2021-10-05 12:33:23 +00:00
tommady
b8210deb0d
fix create dir all with wrong metadata
2021-10-05 02:38:43 +00:00
tommady
ad93fe0494
Merge branch 'main' into 279-increate-the-code-coverage-of-src-rootfs-part-5
2021-10-05 00:37:14 +00:00
Yyee
c4264a1096
Implement secure_join for path ( #354 )
...
* Implement secure_join for path
* Add err handlings, reformat and modify unit tests
2021-10-04 09:18:51 -07:00
tommady
fbb25fec7b
part of PR 340 adding test_bind_dev,test_mknod_dev and test_create_devices
2021-10-04 15:23:52 +00:00
Yashodhan Joshi
a3df726ca2
Add guide to add tests and minor changes in integration tests names
2021-10-04 19:09:10 +05:30
utam0k
9f9bfb5862
Merge pull request #359 from tommady/279-increate-the-code-coverage-of-src-rootfs-part-4
...
part of PR 340 adding test_setup_ptmx and test_setup_default_symlinks
2021-10-04 21:48:26 +09:00
Yashodhan Joshi
ea1b1f41ad
Move test_framework inside youki_integration_test, making it a member of its workspace
2021-10-04 18:11:41 +05:30
tommady
ed5895cb6a
part of PR 340 adding test_setup_ptmx and test_setup_default_symlinks
2021-10-04 02:27:04 +00:00
utam0k
7f91bc6511
Merge pull request #358 from tommady/279-increate-the-code-coverage-of-src-rootfs-part-3
...
part of PR 340 adding two testcases test_to_sflag and test_parse_mount
2021-10-04 10:56:29 +09:00
tommady
2bebec7077
part of PR 340 adding two simple testcases test_to_sflag and test_parse_mount
2021-10-04 01:46:36 +00:00