/usr/lib/plainbox-providers-1/checkbox/jobs/firmware.txt is in plainbox-provider-checkbox 0.3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | plugin: local
name: firmware/fwts
requires: package.name == 'fwts'
description: Automated tests for firmware using Firmware Test Suite.
command:
cat << 'EOF' | run_templates -s 'fwts_test --list'
estimated_duration: 1.2
plugin: shell
name: firmware/fwts_$1
requires: package.name == 'fwts'
user: root
command: fwts_test -t $1 -l $CHECKBOX_DATA/fwts_$1.log
_description: Run $1 test from Firmware Test Suite.
EOF
plugin: local
name: firmware/fwts_logs
requires: package.name == 'fwts'
description: Automated tests for firmware using Firmware Test Suite.
command:
cat << 'EOF' | run_templates -s 'fwts_test --list'
estimated_duration: 1.2
plugin: attachment
name: firmware/fwts_$1.log
requires: package.name == 'fwts'
user: root
command: [[ -e ${CHECKBOX_DATA}/fwts_$1.log ]] && cat ${CHECKBOX_DATA}/fwts_$1.log
_description: Attach log for FWTS $1 test.
EOF
|