Skip to content

test the timing options if they are supported#39

Open
milosmalik wants to merge 1 commit into
linux-application-whitelisting:mainfrom
milosmalik:basic-timing-options
Open

test the timing options if they are supported#39
milosmalik wants to merge 1 commit into
linux-application-whitelisting:mainfrom
milosmalik:basic-timing-options

Conversation

@milosmalik

Copy link
Copy Markdown
Collaborator

The fapolicyd version 1.5 introduced the following command-line options:

  • --timing-start
  • --timing-stop

Purpose of this test is to find out if they work as expected. The test performs basic actions (no corner cases, no regressions).

@milosmalik milosmalik force-pushed the basic-timing-options branch from 619f58e to 39c854d Compare July 9, 2026 12:03

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new sanity test for fapolicyd timing options, adding a test configuration and a test script. The review feedback highlights a critical issue where attempting to read the timing report file before stopping the timing run will fail, as the file does not yet exist; it suggests asserting its non-existence instead. Additionally, the header comments in the test script should be updated to correctly describe the test.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread Sanity/timing-options/runtest.sh Outdated
Comment thread Sanity/timing-options/runtest.sh
@milosmalik milosmalik force-pushed the basic-timing-options branch from 39c854d to f632d46 Compare July 9, 2026 13:23
The fapolicyd version 1.5 introduced the following command-line
options:
 * --timing-start
 * --timing-stop

Purpose of this test is to find out if they work as expected.
The test performs basic actions (no corner cases, no regressions).
@milosmalik milosmalik force-pushed the basic-timing-options branch from f632d46 to 07520a1 Compare July 10, 2026 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant