Improve the getprereqs command

This commit is contained in:
five-three
2023-10-27 11:45:01 +08:00
parent 6efc6d9c9d
commit c95ca8a5af
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ rm /tmp/art.sh
##### Description: encode the command into base64 file
##### Check Prereq Commands:
```sh
exit 1
if [ -e "/tmp/encoded.dat" ]; then exit 0; else exit 1; fi
```
##### Get Prereq Commands:
```sh
+1 -1
View File
@@ -21,7 +21,7 @@ atomic_tests:
- description: |
encode the command into base64 file
prereq_command: |
exit 1
if [ -e "/tmp/encoded.dat" ]; then exit 0; else exit 1; fi
get_prereq_command: |
echo "#{shell_command}" | base64 > /tmp/encoded.dat
executor: