>From 2ce2b390855978223db865666a9b8938dd233b0c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 23 Feb 2020 21:41:08 +0100 Subject: [PATCH] Avoid a test failure, when running the test suite as root. --- ChangeLog | 6 ++++++ testsuite/poke.cmd/file-mode.pk | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c87d2d3..a634787 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2020-02-23 Bruno Haible + + Avoid a test failure, when running the test suite as root. + * testsuite/poke.cmd/file-mode.pk: Allow /etc/passwd to be opened + read-write. + 2020-02-23 Jose E. Marchesi * etc/poke.g4 (funcall_stmt_arg): Remove empty lines at EOF. diff --git a/testsuite/poke.cmd/file-mode.pk b/testsuite/poke.cmd/file-mode.pk index ec936d6..7341458 100644 --- a/testsuite/poke.cmd/file-mode.pk +++ b/testsuite/poke.cmd/file-mode.pk @@ -5,4 +5,4 @@ /* { dg-command { .info ios } } */ /* { dg-output " Id\tMode\tPosition\tName" } */ /* { dg-output {\n. #1\trw\t0x00000000#b\t/dev/null} } */ -/* { dg-output {\n #0\tr \t0x00000000#b\t/etc/passwd} } */ +/* { dg-output {\n #0\tr[w ]\t0x00000000#b\t/etc/passwd} } */ -- 2.7.4