summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2019-04-21 17:03:29 -0400
committerTavian Barnes <tavianator@tavianator.com>2019-04-21 17:03:29 -0400
commitcdb96f1a6ab4b8bbcca35c48cd8c232e50c04390 (patch)
tree08814c07171ce9f643d321ef03974845c9219f44 /tests
parentec0cffd71a257cef03475ff5d189b2057db4426b (diff)
downloadbfs-cdb96f1a6ab4b8bbcca35c48cd8c232e50c04390.tar.xz
parse: Allow things like -uid ++10
GNU find does too.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_gid_minus_plus.out19
-rw-r--r--tests/test_gid_plus_plus.out19
-rw-r--r--tests/test_uid_minus_plus.out19
-rw-r--r--tests/test_uid_plus_plus.out19
4 files changed, 76 insertions, 0 deletions
diff --git a/tests/test_gid_minus_plus.out b/tests/test_gid_minus_plus.out
new file mode 100644
index 0000000..bb3cd8d
--- /dev/null
+++ b/tests/test_gid_minus_plus.out
@@ -0,0 +1,19 @@
+basic
+basic/a
+basic/b
+basic/c
+basic/e
+basic/g
+basic/i
+basic/j
+basic/k
+basic/l
+basic/c/d
+basic/e/f
+basic/g/h
+basic/j/foo
+basic/k/foo
+basic/l/foo
+basic/k/foo/bar
+basic/l/foo/bar
+basic/l/foo/bar/baz
diff --git a/tests/test_gid_plus_plus.out b/tests/test_gid_plus_plus.out
new file mode 100644
index 0000000..bb3cd8d
--- /dev/null
+++ b/tests/test_gid_plus_plus.out
@@ -0,0 +1,19 @@
+basic
+basic/a
+basic/b
+basic/c
+basic/e
+basic/g
+basic/i
+basic/j
+basic/k
+basic/l
+basic/c/d
+basic/e/f
+basic/g/h
+basic/j/foo
+basic/k/foo
+basic/l/foo
+basic/k/foo/bar
+basic/l/foo/bar
+basic/l/foo/bar/baz
diff --git a/tests/test_uid_minus_plus.out b/tests/test_uid_minus_plus.out
new file mode 100644
index 0000000..bb3cd8d
--- /dev/null
+++ b/tests/test_uid_minus_plus.out
@@ -0,0 +1,19 @@
+basic
+basic/a
+basic/b
+basic/c
+basic/e
+basic/g
+basic/i
+basic/j
+basic/k
+basic/l
+basic/c/d
+basic/e/f
+basic/g/h
+basic/j/foo
+basic/k/foo
+basic/l/foo
+basic/k/foo/bar
+basic/l/foo/bar
+basic/l/foo/bar/baz
diff --git a/tests/test_uid_plus_plus.out b/tests/test_uid_plus_plus.out
new file mode 100644
index 0000000..bb3cd8d
--- /dev/null
+++ b/tests/test_uid_plus_plus.out
@@ -0,0 +1,19 @@
+basic
+basic/a
+basic/b
+basic/c
+basic/e
+basic/g
+basic/i
+basic/j
+basic/k
+basic/l
+basic/c/d
+basic/e/f
+basic/g/h
+basic/j/foo
+basic/k/foo
+basic/l/foo
+basic/k/foo/bar
+basic/l/foo/bar
+basic/l/foo/bar/baz