Skip to content
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

Host Platform arg and Fix for input.default not being iterable. #79

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

Plensu
Copy link

@Plensu Plensu commented Jul 16, 2024

I modified the --host argument to accept a dictionary so now it'll look like --host '{"hostname":"platform"}'.
Before, without selecting a platform, tests would possibly run multiple times due to running for how many supported platoforms there were in the test files.

For example, T1098.004 supported linux and macos, so it would run twice for each host provided. For this exact test, it isn't an issue, but could possibly be for other tests.

I also modified the code to check for the provided platform and only spit out test informaton if the platform was supported. Before, the cli would output all the GUIDs as empty dicts even for tests it wouldn't/couldn't run. This was mostly to clean up output.

I also added code to check a tests input argument type. There was an issue where it would try to replace the temp env variable if the executator was powershell. Some input args were ints and this would cause an error. So now, if the input.type isn't a path, then it won't try to do that. This kind of relates to #78 .

Finally, I updated some of the install instructions on the Readme to reflect current options for installing.

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