Project

General

Profile

Actions

action #65933

closed

Add --help to all our scripts

Added by tinita about 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Feature requests
Target version:
Start date:
2020-04-21
Due date:
% Done:

0%

Estimated time:

Description

There are several scripts in the script/ directory which can't be called with --help.

This makes it impossible to quickly check what the scripts are doing.

I added a test t/44-scripts.t which calls all scripts with --help, and the following scripts still don't have that option, or fail in CI with that option:

  • check_dependencies
  • openqa-workercache
  • openqa (has help output, but fails in CI)
  • openqa-livehandler (has help output, but fails in CI)

Still to check:

  • script/configure-web-proxy
  • script/fetchneedles
  • script/openqa-bootstrap
  • script/openqa-bootstrap-container
  • script/openqa-clone-custom-git-refspec
  • script/openqa-enqueue-asset-cleanup
  • script/openqa-enqueue-audit-event-cleanup
  • script/openqa-enqueue-bug-cleanup
  • script/openqa-enqueue-result-cleanup
  • script/setup-db

Related issues 1 (0 open1 closed)

Related to openQA Project - action #68167: [tests][services] Tests for systemd services and/or the daemon wrapper scripts and wrong arguments should exit services with failureResolvedokurz2020-06-172020-10-23

Actions
Actions

Also available in: Atom PDF