1. 26 6月, 2020 1 次提交
  2. 20 12月, 2019 1 次提交
  3. 15 8月, 2018 1 次提交
    • M
      check-file-access: Allow specifying action · 7135cee7
      Michal Privoznik 提交于
      The check-file-access.pl script is used to match access list
      generated by virtestmock against whitelisted rules stored in
      file_access_whitelist.txt. So far the rules are in form:
      
        $path: $progname: $testname
      
      This is not sufficient because the rule does not take into
      account 'action' that caused $path to appear in the list of
      accessed files. After this commit the rule can be in new form:
      
        $path: $action: $progname: $testname
      
      where $action is one from ("open", "fopen", "access", "stat",
      "lstat", "connect"). This way the white list can be fine tuned to
      allow say access() but not connect().
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      7135cee7
  4. 14 5月, 2016 1 次提交
    • M
      tests: Introduce check-file-access.pl · 4b3a46ca
      Michal Privoznik 提交于
      This script will check output generated by virtestmock against a
      white list. All non matching records found are printed out. So
      far, the white list is rather sparse at the moment.
      This test should be ran only after all other tests finished, and
      should cleanup the temporary file before their execution. Because
      I'm unable to reflect these requirements in Makefile.am
      correctly, I've introduced new target 'check-access' under which
      this test is available.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      4b3a46ca