Codebase list ssshtest / 5f9324d
Update upstream source from tag 'upstream/0.0+git20220105.0d6df3d' Update to upstream version '0.0+git20220105.0d6df3d' with Debian dir 087ead61eb44b1be8863cdc257c1ba74fc7be3e5 Nilesh Patra 1 year, 10 months ago
3 changed file(s) with 6 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
0 site/
+0
-1
.travis.yml less more
0 script: bash travis-tests.sh
4949
5050 run a block of code. This must precede any of the testing functions below.
5151
52 ###Arguments
52 ### Arguments
5353
5454 + name for test.
5555 + code to run
6060 Assert that 2 things are equal.
6161 This does a string comparison so assert_equal "2" " 2" will fail.
6262
63 ###Arguments
63 ### Arguments
6464
6565 + observed
6666 + expected
8989 assert_in_stdout "zzz"
9090 ```
9191
92 ###Arguments
92 ### Arguments
9393
9494 + text to match
9595
120120
121121 Assert that stderr out contains this text.
122122
123 ###Arguments
123 ### Arguments
124124
125125 + text to match
126126
144144
145145 Assert that the program exited with a particular code
146146
147 ###Arguments
147 ### Arguments
148148
149149 + exit code
150150