From: Jim Meyering Date: Sat, 30 Dec 2006 16:46:09 +0000 (+0100) Subject: * tests/misc/base64: Factor a long, repetitive string. X-Git-Tag: COREUTILS-6_8~105 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d2ec687c1c676562214e199545c11500d7ecfed1;p=thirdparty%2Fcoreutils.git * tests/misc/base64: Factor a long, repetitive string. --- diff --git a/ChangeLog b/ChangeLog index accd2cb468..f8f9177456 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-12-30 Jim Meyering + * tests/misc/base64: Factor a long, repetitive string. + * src/c99-to-c89.diff: Adjust remove.c offsets. Clean up after the change of 2006-12-28. diff --git a/tests/misc/base64 b/tests/misc/base64 index 02591da866..60332a044a 100755 --- a/tests/misc/base64 +++ b/tests/misc/base64 @@ -37,8 +37,7 @@ use strict; # Turn off localisation of executable's ouput. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; -my $a39 = "YWFhY\nWFhYW\nFhYWF\nhYWFh\nYWFhY\nWFhYW\nFhYWF\n" - . "hYWFh\nYWFhY\nWFhYW\nFh"; +(my $a39 = 'YWFh' x 13) =~ s/(.{5})/$1\n/g; my @Tests = (