From 9192487a267f7052924db88d88cf381513c773d2 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 19 Oct 2022 14:29:35 -0400 Subject: tests: Coverage number go up --- tests/gnu/files0_from_error.sh | 1 + tests/gnu/fls_nonexistent.sh | 1 + tests/gnu/fprint0_nonexistent.sh | 1 + tests/gnu/fprintf_nonexistent.sh | 1 + tests/gnu/noleaf.out | 19 +++++++++++++++++++ tests/gnu/noleaf.sh | 1 + 6 files changed, 24 insertions(+) create mode 100644 tests/gnu/files0_from_error.sh create mode 100644 tests/gnu/fls_nonexistent.sh create mode 100644 tests/gnu/fprint0_nonexistent.sh create mode 100644 tests/gnu/fprintf_nonexistent.sh create mode 100644 tests/gnu/noleaf.out create mode 100644 tests/gnu/noleaf.sh (limited to 'tests/gnu') 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 -- cgit v1.2.3