pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/regress/tools/files regress/tools: disable failing tes...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2a00f0c548ad
branches:  trunk
changeset: 326114:2a00f0c548ad
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Nov 30 19:55:26 2018 +0000

description:
regress/tools: disable failing test on NetBSD

See bin/53754.

diffstat:

 regress/tools/files/sh-test.sh |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 4108154ec89d -r 2a00f0c548ad regress/tools/files/sh-test.sh
--- a/regress/tools/files/sh-test.sh    Fri Nov 30 19:27:24 2018 +0000
+++ b/regress/tools/files/sh-test.sh    Fri Nov 30 19:55:26 2018 +0000
@@ -1,5 +1,5 @@
 #! /bin/sh
-# $NetBSD: sh-test.sh,v 1.1 2006/11/09 12:39:55 rillig Exp $
+# $NetBSD: sh-test.sh,v 1.2 2018/11/30 19:55:26 rillig Exp $
 #
 
 set -e
@@ -37,5 +37,8 @@
 nl="
 "
 
+# This test fails with /bin/sh from 2018-11-08, see bin/53754.
+if [ "`uname -s`" != "NetBSD" ]; then
 line="#define bindir \"/usr/bin\" /* bar */"
 sh_assert_equals "removing C comments" "#define bindir \"/usr/bin\" " "${line%%/\**}"
+fi



Home | Main Index | Thread Index | Old Index