diff options
Diffstat (limited to 'tests/bfs')
-rw-r--r-- | tests/bfs/files0_from_stdin_twice.sh | 1 | ||||
-rw-r--r-- | tests/bfs/files0_from_twice.out | 4 | ||||
-rw-r--r-- | tests/bfs/files0_from_twice.sh | 3 |
3 files changed, 8 insertions, 0 deletions
diff --git a/tests/bfs/files0_from_stdin_twice.sh b/tests/bfs/files0_from_stdin_twice.sh new file mode 100644 index 0000000..752e9de --- /dev/null +++ b/tests/bfs/files0_from_stdin_twice.sh @@ -0,0 +1 @@ +! invoke_bfs -files0-from - -files0-from - </dev/null diff --git a/tests/bfs/files0_from_twice.out b/tests/bfs/files0_from_twice.out new file mode 100644 index 0000000..5087ae9 --- /dev/null +++ b/tests/bfs/files0_from_twice.out @@ -0,0 +1,4 @@ +basic/c +basic/c/d +basic/g +basic/g/h diff --git a/tests/bfs/files0_from_twice.sh b/tests/bfs/files0_from_twice.sh new file mode 100644 index 0000000..1119952 --- /dev/null +++ b/tests/bfs/files0_from_twice.sh @@ -0,0 +1,3 @@ +printf 'basic/c\0' >"$TEST/in1" +printf 'basic/g\0' >"$TEST/in2" +bfs_diff -files0-from "$TEST/in1" -files0-from "$TEST/in2" |