bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* [PATCH] update-copyright: reenable its always-skipped test
@ 2020-01-05  6:54 Jim Meyering
  2020-01-05  7:14 ` Bruno Haible
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Meyering @ 2020-01-05  6:54 UTC (permalink / raw)
  To: bug-gnulib@gnu.org List

[-- Attachment #1: Type: text/plain, Size: 40 bytes --]

Here's another that I'll push tomorrow:

[-- Attachment #2: always-skipped-update-copyright-test.diff --]
[-- Type: application/octet-stream, Size: 1672 bytes --]

From ae8d0e6326794d98c5f0db6ff11ba61f4602d264 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@fb.com>
Date: Sat, 4 Jan 2020 22:52:20 -0800
Subject: [PATCH] update-copyright: reenable its always-skipped test

* tests/test-update-copyright.sh: Restore the "-pi" options removed
on 2019-06-15. Without those, an internal preliminary test would
fail, causing this test always to be skipped.
---
 ChangeLog                      | 5 +++++
 tests/test-update-copyright.sh | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 730f53727..7c8b90ed2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2020-01-04  Jim Meyering  <meyering@fb.com>

+	update-copyright: reenable its always-skipped test
+	* tests/test-update-copyright.sh: Restore the "-pi" options removed
+	on 2019-06-15. Without those, an internal preliminary test would
+	fail, causing this test always to be skipped.
+
 	stdlib: avoid canonicalize_file_name contradiction
 	* lib/stdlib.in.h (canonicalize_file_name): Remove the nonnull
 	attribute from its declaration. tests/test-canonicalize-lgpl.c
diff --git a/tests/test-update-copyright.sh b/tests/test-update-copyright.sh
index b59f83599..adba7799f 100755
--- a/tests/test-update-copyright.sh
+++ b/tests/test-update-copyright.sh
@@ -51,7 +51,7 @@ cat <<\EOF > $s
 # the script through the perl program found in $PATH.  The '-x' option
 # is essential as well; without it, perl would re-execute the script
 # through /bin/sh.  When executed by  perl, the next two lines are a no-op.
-eval 'exec perl -wSx "$0" "$@"'
+eval 'exec perl -wSx -pi "$0" "$@"'
      if 0;

 s/a/b/
-- 
2.24.0.390.g083378cc35


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] update-copyright: reenable its always-skipped test
  2020-01-05  6:54 [PATCH] update-copyright: reenable its always-skipped test Jim Meyering
@ 2020-01-05  7:14 ` Bruno Haible
  2020-01-05 17:11   ` Jim Meyering
  0 siblings, 1 reply; 3+ messages in thread
From: Bruno Haible @ 2020-01-05  7:14 UTC (permalink / raw)
  To: bug-gnulib; +Cc: Jim Meyering

Hi Jim,

> Here's another that I'll push tomorrow:

Oops, right. My mistake. Like in build-aux/update-copyright, you might also
want to restore the -0777 option that was lost on 2019-06-15.

Bruno



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] update-copyright: reenable its always-skipped test
  2020-01-05  7:14 ` Bruno Haible
@ 2020-01-05 17:11   ` Jim Meyering
  0 siblings, 0 replies; 3+ messages in thread
From: Jim Meyering @ 2020-01-05 17:11 UTC (permalink / raw)
  To: Bruno Haible; +Cc: bug-gnulib@gnu.org List

On Sat, Jan 4, 2020 at 11:15 PM Bruno Haible <bruno@clisp.org> wrote:
> > Here's another that I'll push tomorrow:
>
> Oops, right. My mistake. Like in build-aux/update-copyright, you might also
> want to restore the -0777 option that was lost on 2019-06-15.

Thanks, but while that option is critical for the tool invocation, it
cannot matter for this self test.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-05 17:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-05  6:54 [PATCH] update-copyright: reenable its always-skipped test Jim Meyering
2020-01-05  7:14 ` Bruno Haible
2020-01-05 17:11   ` Jim Meyering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).