mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-10-23 04:46:38 +00:00
* tests/scripts/features/vpathplus: Fix output for big-endian systems.
Our hashing algorithm gives different ordering on LE vs BE systems. Patch from Dmitry Goncharov <dgoncharov@users.sf.net>.
This commit is contained in:
parent
f84821b249
commit
b0eab8ecb9
1 changed files with 3 additions and 1 deletions
|
@ -96,10 +96,12 @@ $make_name: *** [$makefile:13: notarget.b] Error 1
|
|||
|
||||
push(@touchedfiles, "inter.a", "inter.b");
|
||||
|
||||
my $be = pack("L", 1) eq pack("N", 1);
|
||||
my $intfiles = $be ? "inter.c inter.b" : "inter.b inter.c";
|
||||
$answer = "cat ${VP}inter.d > inter.c
|
||||
cat inter.c > inter.b 2>/dev/null || exit 1
|
||||
cat inter.b > inter.a
|
||||
rm inter.b inter.c
|
||||
rm $intfiles
|
||||
";
|
||||
&compare_output($answer,&get_logfile(1));
|
||||
|
||||
|
|
Loading…
Reference in a new issue