git: 9c7f83bbb4cd - main - diff: Nits in tests.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 May 2024 14:29:25 UTC
The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=9c7f83bbb4cd8c1241ca1d8a0742bbfec0ddb068 commit 9c7f83bbb4cd8c1241ca1d8a0742bbfec0ddb068 Author: Dag-Erling Smørgrav <des@FreeBSD.org> AuthorDate: 2024-05-20 14:27:11 +0000 Commit: Dag-Erling Smørgrav <des@FreeBSD.org> CommitDate: 2024-05-20 14:27:50 +0000 diff: Nits in tests. Sponsored by: Klara, Inc. --- lib/libdiff/tests/libdiff_test.c | 1 + usr.bin/diff/tests/diff_test.sh | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libdiff/tests/libdiff_test.c b/lib/libdiff/tests/libdiff_test.c index f12717686721..e82a36f3d38a 100644 --- a/lib/libdiff/tests/libdiff_test.c +++ b/lib/libdiff/tests/libdiff_test.c @@ -9,6 +9,7 @@ #include <assert.h> #include <errno.h> +#include <stdint.h> #include <stdio.h> #include <string.h> #include <unistd.h> diff --git a/usr.bin/diff/tests/diff_test.sh b/usr.bin/diff/tests/diff_test.sh index 9a17d180da02..ab731fa32d26 100755 --- a/usr.bin/diff/tests/diff_test.sh +++ b/usr.bin/diff/tests/diff_test.sh @@ -96,7 +96,6 @@ b278988_body() printf 'a\n\nb\nn' > b278988.b.in atf_check -o empty -s eq:0 \ diff -Bw b278988.a.in b278988.b.in - } header_body()