mirror of
https://github.com/imjasonh/testscript-rs
synced 2026-07-08 00:55:52 +00:00
11 lines
No EOL
370 B
Text
11 lines
No EOL
370 B
Text
# Test network condition support
|
|
|
|
# This command will only run if network is available
|
|
[net] exec echo "Network is available"
|
|
|
|
# This command will only run if network is not available
|
|
[!net] exec echo "Network is not available"
|
|
|
|
# At least one of the above should execute, so we should see some output
|
|
exec echo "Network test completed"
|
|
stdout "Network test completed" |