diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-10-19 14:29:35 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-10-19 15:00:08 -0400 |
commit | 9192487a267f7052924db88d88cf381513c773d2 (patch) | |
tree | 6b18e91aed54c1477434dfb1c67479e0f26aac7a /tests/gnu | |
parent | 49a2a2194bfde0b70aac72bd7f2d0e02c62858ef (diff) | |
download | bfs-9192487a267f7052924db88d88cf381513c773d2.tar.xz |
tests: Coverage number go up
Diffstat (limited to 'tests/gnu')
-rw-r--r-- | tests/gnu/files0_from_error.sh | 1 | ||||
-rw-r--r-- | tests/gnu/fls_nonexistent.sh | 1 | ||||
-rw-r--r-- | tests/gnu/fprint0_nonexistent.sh | 1 | ||||
-rw-r--r-- | tests/gnu/fprintf_nonexistent.sh | 1 | ||||
-rw-r--r-- | tests/gnu/noleaf.out | 19 | ||||
-rw-r--r-- | tests/gnu/noleaf.sh | 1 |
6 files changed, 24 insertions, 0 deletions
diff --git a/tests/gnu/files0_from_error.sh b/tests/gnu/files0_from_error.sh new file mode 100644 index 0000000..ab27ea2 --- /dev/null +++ b/tests/gnu/files0_from_error.sh @@ -0,0 +1 @@ +fail invoke_bfs -files0-from basic diff --git a/tests/gnu/fls_nonexistent.sh b/tests/gnu/fls_nonexistent.sh new file mode 100644 index 0000000..4756834 --- /dev/null +++ b/tests/gnu/fls_nonexistent.sh @@ -0,0 +1 @@ +fail invoke_bfs rainbow -fls scratch/nonexistent/path diff --git a/tests/gnu/fprint0_nonexistent.sh b/tests/gnu/fprint0_nonexistent.sh new file mode 100644 index 0000000..d8e0f30 --- /dev/null +++ b/tests/gnu/fprint0_nonexistent.sh @@ -0,0 +1 @@ +fail invoke_bfs basic -fprint0 scratch/nonexistent/path diff --git a/tests/gnu/fprintf_nonexistent.sh b/tests/gnu/fprintf_nonexistent.sh new file mode 100644 index 0000000..6ed141a --- /dev/null +++ b/tests/gnu/fprintf_nonexistent.sh @@ -0,0 +1 @@ +fail invoke_bfs basic -fprintf scratch/nonexistent/path '%p\n' diff --git a/tests/gnu/noleaf.out b/tests/gnu/noleaf.out new file mode 100644 index 0000000..a7ccfe4 --- /dev/null +++ b/tests/gnu/noleaf.out @@ -0,0 +1,19 @@ +basic +basic/a +basic/b +basic/c +basic/c/d +basic/e +basic/e/f +basic/g +basic/g/h +basic/i +basic/j +basic/j/foo +basic/k +basic/k/foo +basic/k/foo/bar +basic/l +basic/l/foo +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/gnu/noleaf.sh b/tests/gnu/noleaf.sh new file mode 100644 index 0000000..b19438c --- /dev/null +++ b/tests/gnu/noleaf.sh @@ -0,0 +1 @@ +bfs_diff basic -noleaf |