1
0
Fork 0
mirror of https://github.com/imjasonh/testscript-rs synced 2026-07-08 17:16:38 +00:00
testscript-rs/testdata/program_conditions.txt
copilot-swe-agent[bot] 26a39e2384 Implement network and advanced condition support
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2025-09-27 01:56:58 +00:00

16 lines
No EOL
642 B
Text

# Test program detection conditions
# Test that echo is available (should work on all platforms)
[exec:echo] exec echo "echo command is available"
[exec:echo] stdout "echo command is available"
# Test negation for a program that shouldn't exist
[!exec:nonexistent_program_xyz123] exec echo "nonexistent program not found"
[!exec:nonexistent_program_xyz123] stdout "nonexistent program not found"
# Test built-in program detections that are set by default
[exec:ls] exec echo "ls command detected"
[exec:mkdir] exec echo "mkdir command detected"
# At least mkdir should work since it's tested
[exec:mkdir] stdout "mkdir command detected"