[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Automake-NG] [PATCH] [ng] tests: fix spurious failures on NetBSD
From: |
Akim Demaille |
Subject: |
Re: [Automake-NG] [PATCH] [ng] tests: fix spurious failures on NetBSD |
Date: |
Mon, 9 Jul 2012 10:25:03 +0200 |
Le 8 juil. 2012 à 01:05, Stefano Lattarini a écrit :
> diff --git a/t/built-sources.sh b/t/built-sources.sh
> index 902cee1..b61b556 100755
> --- a/t/built-sources.sh
> +++ b/t/built-sources.sh
> @@ -29,12 +29,14 @@ BUILT_SOURCES = foo.c
> + # Use printf, not echo, to avoid spurious interpretation of
> + # the "\n" as a newline (see on NetBSD 5.1).
seen?
> + printf '%s\n' '#include <stdio.h>' > address@hidden
> + printf '%s\n' 'int main (void)' >> address@hidden
> + printf '%s\n' '{ ' >> address@hidden
> + printf '%s\n' ' printf ("%s\n", FOOMSG);' >> address@hidden
> + printf '%s\n' ' return 0;' >> address@hidden
> + printf '%s\n' '}' >> address@hidden
> mv -f address@hidden $@
> CLEANFILES = foo.c
> END