Skip to content

Commit

Permalink
test: Fix trusted test - use python script
Browse files Browse the repository at this point in the history
fapolicyd does not work with shell scripts.  In addition, the
shell script was broken.  Instead, use a python script.

Signed-off-by: Rich Megginson <[email protected]>
  • Loading branch information
richm committed Mar 25, 2024
1 parent 37ab0e8 commit 90ebb3b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/tests_trusted_execution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@
- name: Create shell executables
copy:
content: |
#/bin/bash
#!/usr/bin/python
# this is item {{ item }}
exit 0
import sys
sys.exit(0)
dest: "{{ item }}"
mode: "0755"
loop:
Expand Down

0 comments on commit 90ebb3b

Please sign in to comment.