From 9156b70cf038286ddaafbe190850e38ae4ce24ee Mon Sep 17 00:00:00 2001 From: Jim Garlick Date: Tue, 2 May 2023 15:56:22 -0700 Subject: [PATCH] testsuite: fix parallel make failure Problem: tests t48 and t49 use the port 10103 and will conflict if run at the same time. Change t49 to use port 10104. Fixes part of #63 --- test/t49 | 6 +++--- test/t49.conf.in | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/t49 b/test/t49 index f3610cf6..4b6ee059 100755 --- a/test/t49 +++ b/test/t49 @@ -3,19 +3,19 @@ TEST=t49 $PATH_POWERMAND -c ${TEST_BUILDDIR}/$TEST.conf -f -1 2>/dev/null& sleep 1 -./cli localhost:10103 q t1 >$TEST.out 2>$TEST.err +./cli localhost:10104 q t1 >$TEST.out 2>$TEST.err test $? = 0 || exit 1 wait $PATH_POWERMAND -c ${TEST_BUILDDIR}/$TEST.conf -f -1 2>/dev/null& sleep 1 -./cli localhost:10103 l >>$TEST.out 2>>$TEST.err +./cli localhost:10104 l >>$TEST.out 2>>$TEST.err test $? = 0 || exit 1 wait $PATH_POWERMAND -c ${TEST_BUILDDIR}/$TEST.conf -f -1 2>/dev/null& sleep 1 -./cli localhost:10103 1 t0 >>$TEST.out 2>>$TEST.err +./cli localhost:10104 1 t0 >>$TEST.out 2>>$TEST.err test $? = 0 || exit 1 wait diff --git a/test/t49.conf.in b/test/t49.conf.in index 6ae3a331..1c7e66b2 100644 --- a/test/t49.conf.in +++ b/test/t49.conf.in @@ -1,4 +1,4 @@ -listen "0.0.0.0:10103" +listen "0.0.0.0:10104" include "@top_srcdir@/etc/vpc.dev" device "test0" "vpc" "@top_builddir@/test/vpcd |&"