fix: correct parameter names in error messages (#4268)

Error messages were using --test-setup, --test-subdirs, and --test-suite
instead of the actual parameter names: --setup, --subdirs, and --suite

Signed-off-by: Derek Higgins <derekh@redhat.com>
This commit is contained in:
Derek Higgins 2025-12-02 21:34:54 +00:00 committed by GitHub
parent fbf6c30cdc
commit 0b340ffd6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -116,13 +116,13 @@ if [[ -z "$STACK_CONFIG" && "$COLLECT_ONLY" == false ]]; then
fi
if [[ -z "$TEST_SETUP" && -n "$TEST_SUBDIRS" && "$COLLECT_ONLY" == false ]]; then
echo "Error: --test-setup is required when --test-subdirs is provided"
echo "Error: --setup is required when --subdirs is provided"
usage
exit 1
fi
if [[ -z "$TEST_SUITE" && -z "$TEST_SUBDIRS" ]]; then
echo "Error: --test-suite or --test-subdirs is required"
echo "Error: --suite or --subdirs is required"
exit 1
fi