plugin: manual
name: miscellanea/tester-info
description:
 PURPOSE:
     Keep tester related information in the report
 STEPS:
     1. Tester Information
     2. Please enter the following information in the comments field:
        a. Name
        b. Email Address
        c. Reason for this test run
 VERIFICATION:
     Nothing to verify for this test

plugin: manual
name: miscellanea/chvt
requires:
 package.name == 'kbd'
user: root
command: cycle_vts
description:
 PURPOSE:
     This test will check that the system can switch to a virtual terminal and back to X
 STEPS:
     1. Click "Test" to switch to another virtual terminal and then back to X
 VERIFICATION:
     Did your screen change temporarily to a text console and then switch back to your current session?

plugin: shell
name: miscellanea/fwts_test
requires:
  package.name == 'fwts'
user: root
description:
 Run Firmware Test Suite (fwts) automated tests.
environ: CHECKBOX_DATA
command:
 fwts_test -l $CHECKBOX_DATA/fwts_results.log

plugin: attachment
name: miscellanea/fwts_results.log
command: 
 [[ -e ${CHECKBOX_DATA}/fwts_results.log ]] && cat ${CHECKBOX_DATA}/fwts_results.log
description: Attaches the FWTS results log to the submission
description-bs.UTF-8: Dodavanje zapisnika FWTS rezultata za podnošenje
description-de.UTF-8: Den Testergebnissen wird das FWTS-Ergebnisprotokoll hinzugefügt
description-el.utf-8: Επισυνάπτει στην υποβολή το αρχείο καταγραφής των αποτελεσμάτων FWTS
description-en_AU.UTF-8: Attaches the FWTS results log to the submission
description-en_GB.UTF-8: Attaches the FWTS results log to the submission
description-es.UTF-8: Adjunta el registro de resultados de FWTS al envío
description-fr.UTF-8: Joint le journal des résultats FWTS à la soumission
description-gd.UTF-8: A' ceangal an toraidhean FWTS ris an innteart
description-hu.UTF-8: A firmware tesztelőcsomag (FWTS) eredménynaplójának csatolása a beküldendő jelentéshez
description-it.UTF-8: Allega il registro dei risultati di FWTS all'invio.
description-ms.UTF-8: Lampirkan log keputusan FWTS untuk penyerahan
description-nl.UTF-8: Voegt de FWTS-resultatenlog toe aan het rapport
description-pt_BR.UTF-8: Anexa os resultados do  FWTS para a submissão
description-ru.UTF-8: Прикрепляет журнал событий FWTS в отчёт
description-sl.UTF-8: Pripne dnevnik rezultatov FWTS k objavi

plugin: shell
name: miscellanea/ipmi_test
requires: package.name == 'ipmitool'
user: root
command: ipmi_test
description:
 This will run some basic connectivity tests against a BMC, verifying that IPMI works.

plugin: shell
name: miscellanea/is_laptop
user: root
description:
    Determine if we need to run tests specific to portable computers that may not apply to desktops.
command: check_is_laptop

plugin: shell
name: miscellanea/apport-directory
requires: package.name == 'apport'
command: if [ -d /var/crash ]; then if [ $(find /var/crash -type f | grep -v .lock | wc -l) -eq 0 ]; then echo "/var/crash is empty"; else echo `ls /var/crash`; false; fi; else echo "/var/crash does not exist"; fi
description: 
 Test that the /var/crash directory doesn't contain anything. Lists the files contained within if it does, or echoes the status of the directory (doesn't exist/is empty)

plugin: shell
name: miscellanea/sources-list
command: sources_test
description: Checks that a specified sources list file contains the requested repositories
