Source-Changes-HG archive

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

[src/trunk]: src/tests/usr.bin/tmux Make the test pass. It appears that this ...



details:   https://anonhg.NetBSD.org/src/rev/8f75fd800913
branches:  trunk
changeset: 779327:8f75fd800913
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sat May 19 07:30:37 2012 +0000

description:
Make the test pass. It appears that this however does not reproduce the
PR kern/46463, even though the command is exactly the same.

diffstat:

 tests/usr.bin/tmux/t_tmux.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2ee0cacaba3a -r 8f75fd800913 tests/usr.bin/tmux/t_tmux.sh
--- a/tests/usr.bin/tmux/t_tmux.sh      Sat May 19 00:11:46 2012 +0000
+++ b/tests/usr.bin/tmux/t_tmux.sh      Sat May 19 07:30:37 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_tmux.sh,v 1.1 2012/05/18 15:25:25 jruoho Exp $
+# $NetBSD: t_tmux.sh,v 1.2 2012/05/19 07:30:37 jruoho Exp $
 #
 # Copyright (c) 2012 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -30,7 +30,7 @@
 
 stdincrash() {
        atf_check -s ignore -o ignore -e ignore -x \
-               "tmux list-sessions 0<&-" & sleep 2; kill $! >/dev/null 2>&1
+       "\"tmux list-sessions 0<&-\" & sleep 2; kill $! >/dev/null 2>&1"
 }
 
 atf_test_case stdin



Home | Main Index | Thread Index | Old Index