mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 11:30:12 +08:00
feat: sanitize file checks
This commit is contained in:
1 parent
50b1fe5124
commit
8f22babe7d
7 files changed
+115
-63
No files matched your search
@@ -149,3 +149,18 @@ stages:
|
||||
- type: narrative
|
||||
content:
|
||||
- There is a jail
|
||||
|
||||
- id: test-file-not-exist
|
||||
task: Remove the forgotten_scroll.txt
|
||||
repeatable: true
|
||||
condition:
|
||||
command:
|
||||
- ls -a
|
||||
$not:
|
||||
files:
|
||||
- path: /home/commander/forgotten_scroll.txt
|
||||
type: file
|
||||
responses:
|
||||
- type: narrative
|
||||
content:
|
||||
- There is no forgotten_scroll.txt
|
||||
Reference in new issue
Block a user