From bc247d4c9e16e548c84466d8975529568e7c395d Mon Sep 17 00:00:00 2001 From: Jose Bollo Date: Thu, 22 Nov 2018 09:03:33 +0100 Subject: globset: Introduce globset for event handling It optimises the event handling that was slow. It also fix few bugs: - at most one event handler is called now - the handler call has the most specific pattern Change-Id: Ic13a0258b5743579ab15e0e953ec62206d982850 Signed-off-by: Jose Bollo --- src/tests/globset/globset.out | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/tests/globset/globset.out (limited to 'src/tests/globset/globset.out') diff --git a/src/tests/globset/globset.out b/src/tests/globset/globset.out new file mode 100644 index 00000000..e0f4c074 --- /dev/null +++ b/src/tests/globset/globset.out @@ -0,0 +1,30 @@ +match [kilil]: NOT FOUND +search [kilil]: NOT FOUND +add [kilil]: 0, Success +match [kilil]: found by kilil +search [kilil]: found +match [kil]: NOT FOUND +del [error]: -1, No such file or directory +add [kilil]: -1, File exists +del [kilil]: 0, Success +add [kilil]: 0, Success +add [kilil]: -1, File exists +add [kil*]: 0, Success +match [kilil]: found by kilil +match [kililo]: found by kil* +add [*/*]: 0, Success +match [ryjt]: NOT FOUND +match [rthetrfh]: NOT FOUND +match [trhzrt/rztyrt]: found by */* +add [zer*o*]: 0, Success +match [zero]: found by zer*o* +match [zerksdjfhkjdsffbhqkdbfdozz]: found by zer*o* +match [zer/o]: found by zer*o* +add [a*]: 0, Success +add [az*]: 0, Success +add [aze*]: 0, Success +match [alij]: found by a* +match [azdfbgfhnb]: found by az* +match [az]: found by az* +match [azefgnjfghn,dfnh]: found by aze* +match [qsd]: NOT FOUND -- cgit 1.2.3-korg