Source-Changes-HG archive

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

[src/trunk]: src/tests/net/mpls Move all shm files from /tmp into . so ATF ca...



details:   https://anonhg.NetBSD.org/src/rev/64266cd30b1c
branches:  trunk
changeset: 788843:64266cd30b1c
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Jul 23 12:14:49 2013 +0000

description:
Move all shm files from /tmp into . so ATF can automatically do cleanup
for us. Ok: kefren

diffstat:

 tests/net/mpls/t_mpls_fw.sh |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (57 lines):

diff -r 248014c1eb6f -r 64266cd30b1c tests/net/mpls/t_mpls_fw.sh
--- a/tests/net/mpls/t_mpls_fw.sh       Tue Jul 23 11:26:33 2013 +0000
+++ b/tests/net/mpls/t_mpls_fw.sh       Tue Jul 23 12:14:49 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_mpls_fw.sh,v 1.1 2013/07/19 04:00:40 kefren Exp $
+# $NetBSD: t_mpls_fw.sh,v 1.2 2013/07/23 12:14:49 martin Exp $
 #
 # Copyright (c) 2013 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -69,7 +69,7 @@
        # Setup the first server
        export RUMP_SERVER=${RUMP_SERVER1}
        atf_check -s exit:0 rump.ifconfig shmif0 create
-       atf_check -s exit:0 rump.ifconfig shmif0 linkstr /tmp/shdom1
+       atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom1
        atf_check -s exit:0 rump.ifconfig shmif0 10.0.1.1/24
        atf_check -s exit:0 rump.ifconfig mpls0 create up
        atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
@@ -80,10 +80,10 @@
        # Setup the second server
        export RUMP_SERVER=${RUMP_SERVER2}
        atf_check -s exit:0 rump.ifconfig shmif0 create
-       atf_check -s exit:0 rump.ifconfig shmif0 linkstr /tmp/shdom1
+       atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom1
        atf_check -s exit:0 rump.ifconfig shmif0 10.0.1.2/24
        atf_check -s exit:0 rump.ifconfig shmif1 create
-       atf_check -s exit:0 rump.ifconfig shmif1 linkstr /tmp/shdom2
+       atf_check -s exit:0 rump.ifconfig shmif1 linkstr ./shdom2
        atf_check -s exit:0 rump.ifconfig shmif1 10.0.2.1/24
        atf_check -s exit:0 rump.ifconfig mpls0 create up
        atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
@@ -95,10 +95,10 @@
        # Setup the third server
        export RUMP_SERVER=${RUMP_SERVER3}
        atf_check -s exit:0 rump.ifconfig shmif0 create
-       atf_check -s exit:0 rump.ifconfig shmif0 linkstr /tmp/shdom2
+       atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom2
        atf_check -s exit:0 rump.ifconfig shmif0 10.0.2.2/24
        atf_check -s exit:0 rump.ifconfig shmif1 create
-       atf_check -s exit:0 rump.ifconfig shmif1 linkstr /tmp/shdom3
+       atf_check -s exit:0 rump.ifconfig shmif1 linkstr ./shdom3
        atf_check -s exit:0 rump.ifconfig shmif1 10.0.3.1/24
        atf_check -s exit:0 rump.ifconfig mpls0 create up
        atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1
@@ -110,10 +110,10 @@
        # Setup the fourth server
        export RUMP_SERVER=${RUMP_SERVER4}
        atf_check -s exit:0 rump.ifconfig shmif0 create
-       atf_check -s exit:0 rump.ifconfig shmif0 linkstr /tmp/shdom3
+       atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom3
        atf_check -s exit:0 rump.ifconfig shmif0 10.0.3.2/24
        atf_check -s exit:0 rump.ifconfig shmif1 create
-       atf_check -s exit:0 rump.ifconfig shmif1 linkstr /tmp/shdom4
+       atf_check -s exit:0 rump.ifconfig shmif1 linkstr ./shdom4
        atf_check -s exit:0 rump.ifconfig shmif1 10.0.4.1/24
        atf_check -s exit:0 rump.ifconfig mpls0 create up
        atf_check -s exit:0 rump.sysctl -q -w net.mpls.accept=1



Home | Main Index | Thread Index | Old Index