"Fossies" - the Fresh Open Source Software Archive

Member "hitch-1.5.2/src/tests/test02-simple-request.sh" (27 Aug 2019, 267 Bytes) of package /linux/www/hitch-1.5.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. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "test02-simple-request.sh": 1.4.8_vs_1.5.0.

    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 subj_name_eq "site1.example.com" s_client.dump
   14 curl_hitch