pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/regress/make-shell
Module Name: pkgsrc
Committed By: rillig
Date: Fri May 1 19:28:16 UTC 2020
Modified Files:
pkgsrc/regress/make-shell: Makefile
Log Message:
regress/make-shell: add another test case for broken Solaris /bin/sh
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/regress/make-shell/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/regress/make-shell/Makefile
diff -u pkgsrc/regress/make-shell/Makefile:1.1 pkgsrc/regress/make-shell/Makefile:1.2
--- pkgsrc/regress/make-shell/Makefile:1.1 Fri May 1 19:16:47 2020
+++ pkgsrc/regress/make-shell/Makefile Fri May 1 19:28:15 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/05/01 19:16:47 rillig Exp $
+# $NetBSD: Makefile,v 1.2 2020/05/01 19:28:15 rillig Exp $
#
# This regression test demonstrates which features are supported by the
# shell that is used internally by devel/bmake. That shell may be
@@ -29,4 +29,13 @@ do-regress:
${RUN} path="1/2/3/4"; one=$${path%%/*}
${RUN} path="1/2/3/4"; four=$${path##*/}
+ # The Solaris /bin/sh exits with an error in this situation,
+ # even though there is an "if" around the "cd".
+ ${RUN} \
+ if cd /bddc80cd-760f-46e7-955c-e767772d57f5 2>/dev/null; then \
+ ${FAIL_MSG} "cd unexpectedly succeeded"; \
+ else \
+ : "That's expected"; \
+ fi
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index