summaryrefslogtreecommitdiffstats
path: root/tests/posix
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-07-08 10:24:31 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-07-08 10:25:49 -0400
commit06b78a74dfd0943ff97cbf8b49f7d3591a4dc5d4 (patch)
tree9a8e3dbf5ad4c8c129ba26799fae03478c7e7eb6 /tests/posix
parent3206124fb3af2481fc45e705f7bba3ea56016433 (diff)
downloadbfs-06b78a74dfd0943ff97cbf8b49f7d3591a4dc5d4.tar.xz
tests: -iname is in POSIX 2024
Link: https://www.austingroupbugs.net/view.php?id=1031
Diffstat (limited to 'tests/posix')
-rw-r--r--tests/posix/iname.out4
-rw-r--r--tests/posix/iname.sh1
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/posix/iname.out b/tests/posix/iname.out
new file mode 100644
index 0000000..a9e5d42
--- /dev/null
+++ b/tests/posix/iname.out
@@ -0,0 +1,4 @@
+basic/e/f
+basic/j/foo
+basic/k/foo
+basic/l/foo
diff --git a/tests/posix/iname.sh b/tests/posix/iname.sh
new file mode 100644
index 0000000..a9297ac
--- /dev/null
+++ b/tests/posix/iname.sh
@@ -0,0 +1 @@
+bfs_diff basic -iname '*F*'