From 1cf13f0ef52a9ed96c2362091e0d4f054287ca0e Mon Sep 17 00:00:00 2001
From: Pat Thoyts <patthoyts@users.sourceforge.net>
Date: Mon, 8 Mar 2010 10:21:53 +0000
Subject: [PATCH] Extended the test set

---
 tests/path_filter.test | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/tests/path_filter.test b/tests/path_filter.test
index 3f9322c..b0e1e4f 100644
--- a/tests/path_filter.test
+++ b/tests/path_filter.test
@@ -6,14 +6,19 @@ source [file join [file dirname [testsDirectory]] gitk]
 
 
 set tests {
-    1  ""   gitk   0
-    2  .    gitk   1
-    3  ./   gitk   1
-    4  po   po/de.po  1
-    5  ./po po/de.po 1
-    6  po   gitk   0
-    7  po   a/b    0
-    8  a    a/b/c  1
+    1  ""     gitk   0
+    2  .      gitk   1
+    3  ./     gitk   1
+    4  po     po/de.po  1
+    5  ./po   po/de.po 1
+    6  po     gitk   0
+    7  po     a/b    0
+    8  a      a/b/c  1
+    9  po/..  gitk  1
+    10 po/../po po/de.po 1
+    11 po/../b  po/de.po 0
+    12 ./././.  gitk 1
+    12 po/.././ gitk 1
 }
 foreach {id filter name result} $tests {
     test path_filter-$id "path_filter $filter $name" -body {
-- 
2.23.0