Тестовый стенд: любой (смотрела на alt kworkstation). control++-checkinstall-0.20.1-alt0.M90P.1.x86_64 1) Установить пакет 2) Посмотреть информацию об использовании утилиты # /var/lib/control++/tests/run -h usage: run [-h] -t {bl,wl,all} optional arguments: -h, --help show this help message and exit -t {bl,wl,all}, --targets {bl,wl,all} Targets of the testing (bl | wl | all) 3) Запустить с параметром bl или wl Результат: # /var/lib/control++/tests/run -t wl Running '' [IN PROGRESS] Traceback (most recent call last): File "/var/lib/control++/tests/run", line 71, in <module> res = subprocess.run(command) File "/usr/lib64/python3.7/subprocess.py", line 472, in run with Popen(*popenargs, **kwargs) as process: File "/usr/lib64/python3.7/subprocess.py", line 775, in __init__ restore_signals, start_new_session) File "/usr/lib64/python3.7/subprocess.py", line 1406, in _execute_child executable = args[0] IndexError: list index out of range С параметром all запуск без ошибок # /var/lib/control++/tests/run -t all Running '/var/lib/control++/tests/bw-list-modesetting --indent --list black' [IN PROGRESS] /run/control++ is already exist Running 'control++ permissions --plain test_blacklist' [IN PROGRESS] Setting permissions 'test_blacklist' mode: Restoring initial state: Restoring initial state for the 'permissions' unit [DONE] Mode reset OK Setting 'test_blacklist' mode for the 'permissions' unit [DONE] Mode set OK Current permissions mode is 'test_blacklist' Running 'control++ permissions --plain test_blacklist' [V] Checking /run/control++/d2 [V] - Exec perm bit is on Checking /run/control++/d1 [V] - Exec perm bit is on Checking /run/control++/base_dir [V] - Exec perm bit is on Checking /run/control++/f1 [V] - Exec perm bit is on Checking /run/control++/d2/f1 [V] - Exec perm bit is on Checking /run/control++/d1/f1 [V] - Exec perm bit is on Checking /run/control++/base_dir/d3 [V] - Exec perm bit is on Checking /run/control++/base_dir/d2 [V] - Exec perm bit is on Checking /run/control++/base_dir/d1 [V] - Exec perm bit is on Checking /run/control++/base_dir/f2 [V] - Exec perm bit is on Checking /run/control++/base_dir/f1 [V] - Exec perm bit is off Checking /run/control++/base_dir/d2/f2 [V] - Exec perm bit is on Checking /run/control++/base_dir/d2/f1 [V] - Exec perm bit is off Checking /run/control++/base_dir/d1/d1 [V] - Exec perm bit is on Checking /run/control++/base_dir/d1/f2 [V] - Exec perm bit is on Checking /run/control++/base_dir/d1/f1 [V] - Exec perm bit is off Checking /run/control++/base_dir/d1/d1/f2 [V] - Exec perm bit is on Checking /run/control++/base_dir/d1/d1/f1 [V] - Exec perm bit is off Running '/var/lib/control++/tests/bw-list-modesetting --indent --list black' [V] Running '/var/lib/control++/tests/bw-list-modesetting --indent --list white' [IN PROGRESS] /run/control++ is already exist Running 'control++ permissions --plain test_whitelist' [IN PROGRESS] Setting permissions 'test_whitelist' mode: Restoring initial state: Restoring initial state for the 'permissions' unit [DONE] Mode reset OK Setting 'test_whitelist' mode for the 'permissions' unit [DONE] Mode set OK Current permissions mode is 'test_whitelist' Running 'control++ permissions --plain test_whitelist' [V] Checking /run/control++/d2 [V] - Exec perm bit is on Checking /run/control++/d1 [V] - Exec perm bit is on Checking /run/control++/base_dir [V] - Exec perm bit is on Checking /run/control++/f1 [V] - Exec perm bit is on Checking /run/control++/d2/f1 [V] - Exec perm bit is on Checking /run/control++/d1/f1 [V] - Exec perm bit is on Checking /run/control++/base_dir/d3 [V] - Exec perm bit is on Checking /run/control++/base_dir/d2 [V] - Exec perm bit is on Checking /run/control++/base_dir/d1 [V] - Exec perm bit is on Checking /run/control++/base_dir/f2 [V] - Exec perm bit is off Checking /run/control++/base_dir/f1 [V] - Exec perm bit is on Checking /run/control++/base_dir/d2/f2 [V] - Exec perm bit is off Checking /run/control++/base_dir/d2/f1 [V] - Exec perm bit is on Checking /run/control++/base_dir/d1/d1 [V] - Exec perm bit is on Checking /run/control++/base_dir/d1/f2 [V] - Exec perm bit is off Checking /run/control++/base_dir/d1/f1 [V] - Exec perm bit is on Checking /run/control++/base_dir/d1/d1/f2 [V] - Exec perm bit is off Checking /run/control++/base_dir/d1/d1/f1 [V] - Exec perm bit is on Running '/var/lib/control++/tests/bw-list-modesetting --indent --list white' [V] 2 of 2 tests have succeeded.
Исправлено в версии 0.20.2.