summaryrefslogtreecommitdiffstats
path: root/tests/gnu
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2025-03-30 11:21:04 -0400
committerTavian Barnes <tavianator@tavianator.com>2025-03-30 11:21:04 -0400
commitfe6b742fc9803afc66e8ed98c7b3ef1ccdfa9a83 (patch)
tree8199041fe0de462ede358b516814c3c2754fb360 /tests/gnu
parent22b1ab22456306877214a4d9c7bcdf0ad7a293cc (diff)
downloadbfs-fe6b742fc9803afc66e8ed98c7b3ef1ccdfa9a83.tar.xz
parse: Track expressions, not just strings, for conflict reporting
Diffstat (limited to 'tests/gnu')
-rw-r--r--tests/gnu/follow_files0_from.out42
-rw-r--r--tests/gnu/follow_files0_from.sh1
-rw-r--r--tests/gnu/ok_files0_from.sh1
3 files changed, 44 insertions, 0 deletions
diff --git a/tests/gnu/follow_files0_from.out b/tests/gnu/follow_files0_from.out
new file mode 100644
index 0000000..c77d546
--- /dev/null
+++ b/tests/gnu/follow_files0_from.out
@@ -0,0 +1,42 @@
+links
+links/broken
+links/broken
+links/deeply
+links/deeply
+links/deeply/nested
+links/deeply/nested
+links/deeply/nested
+links/deeply/nested/broken
+links/deeply/nested/broken
+links/deeply/nested/broken
+links/deeply/nested/broken
+links/deeply/nested/dir
+links/deeply/nested/dir
+links/deeply/nested/dir
+links/deeply/nested/dir
+links/deeply/nested/file
+links/deeply/nested/file
+links/deeply/nested/file
+links/deeply/nested/file
+links/deeply/nested/link
+links/deeply/nested/link
+links/deeply/nested/link
+links/deeply/nested/link
+links/file
+links/file
+links/hardlink
+links/hardlink
+links/notdir
+links/notdir
+links/skip
+links/skip
+links/skip/broken
+links/skip/broken
+links/skip/dir
+links/skip/dir
+links/skip/file
+links/skip/file
+links/skip/link
+links/skip/link
+links/symlink
+links/symlink
diff --git a/tests/gnu/follow_files0_from.sh b/tests/gnu/follow_files0_from.sh
new file mode 100644
index 0000000..8c20f6d
--- /dev/null
+++ b/tests/gnu/follow_files0_from.sh
@@ -0,0 +1 @@
+invoke_bfs links -print0 | bfs_diff -follow -files0-from -
diff --git a/tests/gnu/ok_files0_from.sh b/tests/gnu/ok_files0_from.sh
new file mode 100644
index 0000000..0e2818b
--- /dev/null
+++ b/tests/gnu/ok_files0_from.sh
@@ -0,0 +1 @@
+! printf "basic\0" | invoke_bfs -ok echo {} \; -files0-from -