Debian Codegraph @

testing/tests/sphinx/rst-cmd.sh

raw
1 # %TEST-EXEC: bash %INPUT
2
3 %TEST-START-FILE file.txt
4 Example file.
5 Line 2
6 %TEST-END-FILE
7
8 unset TEST_NAME
9 btest-rst-cmd echo Hello >>output
10 btest-rst-cmd -o echo "Hello 2, no command" >>output
11 btest-rst-cmd -c "Different command" echo "Hello 3, no command" >>output
12 btest-rst-cmd -d echo "Hello 4, no output" >>output
13 btest-rst-cmd -f 'tr e X' echo "Hello 5, filter" >>output
14 btest-rst-cmd -r file.txt echo "Hello 6, file" >>output
15 btest-diff output