#3 Add the best tests on the world
Opened 2 years ago by pschindl. Modified 2 years ago
rpms/ pschindl/dogtail f31  into  rawhide

file added
+20
@@ -0,0 +1,20 @@ 

+ #!/usr/bin/bash

+ 

+ ARTIFACTS=/tmp/artifacts

+ OUTPUT=${ARTIFACTS}/output.txt

+ 

+ #mkdir $ARTIFACTS

+ echo "======== id ===============" > ${OUTPUT}

+ id >> ${OUTPUT}

+ echo "======== pwd ==============" >> ${OUTPUT}

+ pwd >> ${OUTPUT}

+ echo "======== lspci -nn ========" >> ${OUTPUT}

+ lspci -nn >> ${OUTPUT}

+ echo "======== env ==============" >> ${OUTPUT}

+ env  >> ${OUTPUT}

+ echo "======== repos ============" >> ${OUTPUT}

+ tree /etc/yum.repos.d  >> ${OUTPUT}

+ echo "======== packages =========" >> ${OUTPUT}

+ rpm -qa  >> ${OUTPUT}

+ 

+ exit 0

file added
+14
@@ -0,0 +1,14 @@ 

+ # Basic tests for gnome-calculator

+ - hosts: localhost

+   vars:

+   - artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}"

+   roles:

+   - role: standard-test-basic

+     tags:

+     - classic

+     required_packages:

+     - pciutils

+     tests:

+     - systemcheck:

+         dir: .

+         run: ./systemcheck.sh

no initial comment

1 new commit added

  • Use correct artifacts folder
2 years ago

1 new commit added

  • Try tmp artifacts
2 years ago

1 new commit added

  • Use proper artifacts for all outputs
2 years ago

1 new commit added

  • Better output
2 years ago

1 new commit added

  • add lspci output
2 years ago