113498266Sopenharmony_ci<testcase> 213498266Sopenharmony_ci<info> 313498266Sopenharmony_ci<keywords> 413498266Sopenharmony_ci--help 513498266Sopenharmony_ci</keywords> 613498266Sopenharmony_ci</info> 713498266Sopenharmony_ci 813498266Sopenharmony_ci# 913498266Sopenharmony_ci# Server-side 1013498266Sopenharmony_ci<reply> 1113498266Sopenharmony_ci</reply> 1213498266Sopenharmony_ci 1313498266Sopenharmony_ci# 1413498266Sopenharmony_ci# Client-side 1513498266Sopenharmony_ci<client> 1613498266Sopenharmony_ci<server> 1713498266Sopenharmony_cinone 1813498266Sopenharmony_ci</server> 1913498266Sopenharmony_ci<name> 2013498266Sopenharmony_cicurl --help 2113498266Sopenharmony_ci</name> 2213498266Sopenharmony_ci<command> 2313498266Sopenharmony_ci--help 2413498266Sopenharmony_ci</command> 2513498266Sopenharmony_ci# Search for these two sentinel lines in the help output; if they are found, 2613498266Sopenharmony_ci# then chances are good the entire help is there. 2713498266Sopenharmony_ci<postcheck> 2813498266Sopenharmony_ciperl -e 'open(IN,$ARGV[0]); my $lines=grep(/(Usage: curl )|(--version\s*Show version)/, <IN>); exit ($lines != 2); # Let this file pass an XML syntax check: </IN>' %LOGDIR/stdout%TESTNUMBER 2913498266Sopenharmony_ci</postcheck> 3013498266Sopenharmony_ci</client> 3113498266Sopenharmony_ci 3213498266Sopenharmony_ci# 3313498266Sopenharmony_ci# Verify data after the test has been "shot" 3413498266Sopenharmony_ci<verify> 3513498266Sopenharmony_ci<errorcode> 3613498266Sopenharmony_ci0 3713498266Sopenharmony_ci</errorcode> 3813498266Sopenharmony_ci</verify> 3913498266Sopenharmony_ci</testcase> 40