Source-Changes-HG archive

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

[src/trunk]: src/tests/bin/sh/dotcmd Supply a missing \ ... this missing has ...



details:   https://anonhg.NetBSD.org/src/rev/78e8dc8b961d
branches:  trunk
changeset: 446399:78e8dc8b961d
user:      kre <kre%NetBSD.org@localhost>
date:      Tue Dec 04 09:47:25 2018 +0000

description:
Supply a missing \ ... this missing has meant that these tests
have not been testing everything they should have been testing.
Never mind, they still all succeed.

diffstat:

 tests/bin/sh/dotcmd/scoped_command |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r f8055fb71ee5 -r 78e8dc8b961d tests/bin/sh/dotcmd/scoped_command
--- a/tests/bin/sh/dotcmd/scoped_command        Tue Dec 04 09:32:50 2018 +0000
+++ b/tests/bin/sh/dotcmd/scoped_command        Tue Dec 04 09:47:25 2018 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: scoped_command,v 1.2 2016/03/27 14:57:50 christos Exp $
+# $NetBSD: scoped_command,v 1.3 2018/12/04 09:47:25 kre Exp $
 #
 # Copyright (c) 2014 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -71,7 +71,7 @@
 # don't rely on command lists (';')
 cmd="echo 'before ${3}'
 ${2}
-echo 'after ${3}, return value:' ${?}"
+echo 'after ${3}, return value:' \${?}"
 
 echo "#!${TEST_SH}"
 



Home | Main Index | Thread Index | Old Index