diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-09-15 14:18:14 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-09-15 14:18:14 -0400 |
commit | ba173f371f4d300976ba15d93f67661f51b7cb42 (patch) | |
tree | bec5f8cd08a54e9349d770da3f6e6c118de42c9b /tests.sh | |
parent | b6b7a68190703d30912d2a1c3d8d64e3de81a612 (diff) | |
download | bfs-ba173f371f4d300976ba15d93f67661f51b7cb42.tar.xz |
tests: Make the -files0-from tests weirder
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -3008,12 +3008,14 @@ function test_flags() { } function test_files0_from_file() { - invoke_bfs basic -fprint0 scratch/files0.in - bfs_diff -files0-from scratch/files0.in + cd weirdnames + invoke_bfs -mindepth 1 -fprintf ../scratch/files0.in "%P\0" + bfs_diff -files0-from ../scratch/files0.in } function test_files0_from_stdin() { - invoke_bfs basic -print0 | bfs_diff -files0-from - + cd weirdnames + invoke_bfs -mindepth 1 -printf "%P\0" | bfs_diff -files0-from - } function test_files0_from_none() { |