The branch main has been updated by des:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=4a1b0a9e2b9f717e14df082735d3a85cf158b1af

commit 4a1b0a9e2b9f717e14df082735d3a85cf158b1af
Author:     Dag-Erling Smørgrav <d...@freebsd.org>
AuthorDate: 2025-01-30 21:32:49 +0000
Commit:     Dag-Erling Smørgrav <d...@freebsd.org>
CommitDate: 2025-01-30 21:38:07 +0000

    unifdef: Restore damaged test case.
    
    The input for the hash_comment test case was damaged in a cleanup sweep.
    Restore the original input and tweak it slightly so it no longer matches
    the regex used in said sweep.
    
    Sponsored by:   Klara, Inc.
    Fixes: 5e3934b15a2741b2de6b217e77dc9d798d740804
---
 usr.bin/unifdef/tests/unifdef_test.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/usr.bin/unifdef/tests/unifdef_test.sh 
b/usr.bin/unifdef/tests/unifdef_test.sh
index 5a022a5384e7..7af782e8c9e2 100644
--- a/usr.bin/unifdef/tests/unifdef_test.sh
+++ b/usr.bin/unifdef/tests/unifdef_test.sh
@@ -10,7 +10,9 @@ hash_comment_head() {
 }
 hash_comment_body() {
        cat >f <<EOF
-
+#if FOO
+a
+#endif /*
 */
 EOF
        atf_check -o file:f unifdef <f

Reply via email to