"Fossies" - the Fresh Open Source Software Archive

Member "chrony-3.5/test/system/005-scfilter" (10 May 2019, 363 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 #!/usr/bin/env bash
    2 
    3 . ./test.common
    4 
    5 check_chronyd_features SCFILTER || test_skip "SCFILTER support disabled"
    6 
    7 test_start "system call filter"
    8 
    9 for extra_chronyd_options in "-F -1" "-F 1"; do
   10     start_chronyd || test_fail
   11     wait_for_sync || test_fail
   12     stop_chronyd || test_fail
   13     check_chronyd_messages || test_fail
   14     check_chronyd_files || test_fail
   15 done
   16 
   17 test_pass