commit | 07403e684f01d3bfb0212f4620c6786a6e755844 | [log] [tgz] |
---|---|---|
author | Ghanan Gowripalan <ghanan@fuchsia.infra.roller.google.com> | Fri May 10 22:44:21 2024 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Fri May 10 15:45:35 2024 -0700 |
tree | 40ca65f2f14c43f5ea2db1376dfb21926d95c6f7 | |
parent | 81405c6441021f5b5aa1f4cde7d8810e15e60fce [diff] |
[roll] Roll fuchsia [starnix/tests] Exercise permission check on directory The newly introduced tests pass when run on Linux with `CAP_SYS_ADMIN`: ``` ghanan@ghanan-cloudtop:~/Projects/fuchsia$ TZ=America/Los_Angeles date Fri May 10 01:48:23 PM PDT 2024 ghanan@ghanan-cloudtop:~/Projects/fuchsia$ git log -1 --format="%H (%ch) %s" 3111b7661af3f494f832f1c373c0fb68a74696d3 (37 seconds ago) [starnix/tests] Exercise permission check on directory ghanan@ghanan-cloudtop:~/Projects/fuchsia$ capsh --current Current: cap_net_admin,cap_net_raw,cap_sys_chroot,cap_sys_admin=eip Current IAB: ^cap_net_admin,^cap_net_raw,^cap_sys_chroot,^cap_sys_admin ghanan@ghanan-cloudtop:~/Projects/fuchsia$ fx test --host -o syscalls_cpp_host_test -- --gtest_filter="*DirPermissionCheck*" Welcome to fx test 🧪 Found 639 total tests in //out/core.qemu-x64/tests.json Plan to run 1 test Refreshing 2 targets > fx build --toolchain=//build/toolchain:host_x64 //src/starnix/tests/syscalls/cpp:syscalls_cpp_host_tests Use --no-build to skip building Executing build. Status output suspended. Building Ninja target(s): host_x64/obj/src/starnix/tests/syscalls/cpp/syscalls_cpp_host_tests.stamp ninja: Entering directory `/usr/local/google/home/ghanan/Projects/fuchsia/out/core.qemu-x64' ninja: no work to do. Running 1 tests Starting: linux_x64/syscalls_cpp_test_bin (NOT HERMETIC) Command: /usr/local/google/home/ghanan/Projects/fuchsia/out/core.qemu-x64/linux_x64/syscalls_cpp_test_bin --gtest_filter=*DirPermissionCheck* Note: Google Test filter = *DirPermissionCheck* Note: Randomizing tests' orders with a seed of 89567 . [==========] Running 4 tests from 1 test suite. [----------] Global test environment set-up. [----------] 4 tests from FuseDirPermissionCheck/FuseDirPermissionCheck [ RUN ] FuseDirPermissionCheck/FuseDirPermissionCheck.DirPermissionCheck/2 [ OK ] FuseDirPermissionCheck/FuseDirPermissionCheck.DirPermissionCheck/2 (114 ms) [ RUN ] FuseDirPermissionCheck/FuseDirPermissionCheck.DirPermissionCheck/1 [ OK ] FuseDirPermissionCheck/FuseDirPermissionCheck.DirPermissionCheck/1 (65 ms) [ RUN ] FuseDirPermissionCheck/FuseDirPermissionCheck.DirPermissionCheck/0 [ OK ] FuseDirPermissionCheck/FuseDirPermissionCheck.DirPermissionCheck/0 (69 ms) [ RUN ] FuseDirPermissionCheck/FuseDirPermissionCheck.DirPermissionCheck/3 [ OK ] FuseDirPermissionCheck/FuseDirPermissionCheck.DirPermissionCheck/3 (68 ms) [----------] 4 tests from FuseDirPermissionCheck/FuseDirPermissionCheck (318 ms total) [----------] Global test environment tear-down [==========] 4 tests from 1 test suite ran. (318 ms total) [ PASSED ] 4 tests. PASSED: linux_x64/syscalls_cpp_test_bin RAN: 1 PASSED: 1 FAILED: 0 SKIPPED: 0 Completed in 4.440s ghanan@ghanan-cloudtop:~/Projects/fuchsia$ TZ=America/Los_Angeles date Fri May 10 01:48:47 PM PDT 2024 ``` Original-Bug: b/324955805, b/331965660 Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1044032 Original-Revision: 587352fc1b29a307f260aab82937dd6800708099 GitOrigin-RevId: ab6b8cb10895d309e38b0c0bd806087e02084b7e Change-Id: I4fc421afa40fbac4ee003c399a0113509c144ae8
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia
on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.