"Fossies" - the Fresh Open Source Software Archive

Member "chrony-3.5/test/simulation/111-knownclient" (10 May 2019, 336 Bytes) of package /linux/misc/chrony-3.5.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.

    1 #!/bin/bash
    2 
    3 . ./test.common
    4 
    5 test_start "reply to client configured as server"
    6 
    7 server_conf="server 192.168.123.2 noselect
    8 acquisitionport 123"
    9 client_conf="acquisitionport 123"
   10 
   11 run_test || test_fail
   12 check_chronyd_exit || test_fail
   13 check_source_selection || test_fail
   14 check_packet_port || test_fail
   15 check_sync || test_fail
   16 
   17 test_pass