"Fossies" - the Fresh Open Source Software Archive

Member "hitch-1.7.2/src/tests/test02-simple-request.sh" (29 Nov 2021, 274 Bytes) of package /linux/www/hitch-1.7.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "test02-simple-request.sh": 1.7.0_vs_1.7.2.

    1 #!/bin/sh
    2 #
    3 # Test basic argument handling.
    4 #
    5 . hitch_test.sh
    6 
    7 start_hitch \
    8     --backend="[hitch-tls.org]:80" \
    9     --frontend="[localhost]:$LISTENPORT" \
   10     "${CERTSDIR}/site1.example.com"
   11 
   12 s_client >s_client.dump
   13 subject_field_eq CN "site1.example.com" s_client.dump
   14 curl_hitch