diff options
author | Ismo Puustinen <ismo.puustinen@intel.com> | 2017-06-27 15:14:58 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-06-27 18:08:51 +0200 |
commit | 8368e63eff044b78b9332f3af398a940d75e590f (patch) | |
tree | 4e690b118dbcdfea85c6c628f21e2ea8124cd8eb /tests/shell/testcases/include | |
parent | 1325419d43184ffe426878af2a2f050e28702852 (diff) |
scanner: support for wildcards in include statements.
Use glob() to find paths in include statements. The rules are these:
1. If no files can be found in the pattern with wildcards, do not
return an error.
2. Do not match any files beginning with '.'.
3. Do not handle include directories anymore. For example, the
statement:
include "foo/"
would now need to be rewritten:
include "foo/*"
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/include')
0 files changed, 0 insertions, 0 deletions