summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-02-19 18:24:11 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-02-19 18:24:38 +0100
commit573edeb13b5b71f90fc1d819af6748cb93d5604e (patch)
tree3883cc37668f52f979d2d58e3165244ef1ca1259 /tests
parent6424676d6332cf00e4146d4b45d00cd2eb25d359 (diff)
libfstree: reject unknown glob options to allow future expansions
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests')
-rw-r--r--tests/fstree_glob1.txt2
-rw-r--r--tests/fstree_glob2.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/fstree_glob1.txt b/tests/fstree_glob1.txt
index 28dbecb..0d96391 100644
--- a/tests/fstree_glob1.txt
+++ b/tests/fstree_glob1.txt
@@ -1,2 +1,2 @@
dir /tarcorpus 0755 0 0
-glob /tarcorpus 0755 0 0 -type d tar
+glob /tarcorpus 0755 0 0 -type d -- tar
diff --git a/tests/fstree_glob2.txt b/tests/fstree_glob2.txt
index be30fcc..f423b4a 100644
--- a/tests/fstree_glob2.txt
+++ b/tests/fstree_glob2.txt
@@ -1,3 +1,3 @@
dir /tarcorpus 0755 0 0
glob /tarcorpus 0755 0 0 -type d tar
-glob /tarcorpus 0644 0 0 -type f -name "*gnu*.tar" tar
+glob /tarcorpus 0644 0 0 -type f -name "*gnu*.tar" -- tar