changed debian/source/format to native

This commit is contained in:
Lu zhiping 2022-07-07 17:32:04 +08:00
parent 53be1ddab6
commit 9a6b5639f8
4 changed files with 1 additions and 76 deletions

View File

@ -1,2 +0,0 @@
shrink-receiver-abort-tests.sh
shrink-basic-realistic-tests.sh

View File

@ -1,31 +0,0 @@
Description: Shrink (tls-)basic-realistic tests
Reduce the message count so they reliably succeed on slow platforms like
riscv64. Fast platforms work too.
Author: Matthew Ruffell <matthew.ruffell@canonical.com>
Index: librelp-1.9.0/tests/basic-realistic.sh
===================================================================
--- librelp-1.9.0.orig/tests/basic-realistic.sh 2021-01-26 09:19:29.368570620 +1300
+++ librelp-1.9.0/tests/basic-realistic.sh 2021-01-26 09:19:29.312572186 +1300
@@ -3,7 +3,7 @@
# a more relastic test which actually sends a bit larger number
# of messages
. ${srcdir:=$(pwd)}/test-framework.sh
-NUMMESSAGES=50000
+NUMMESSAGES=10000
startup_receiver
./send -t 127.0.0.1 -p $TESTPORT -n$NUMMESSAGES $OPT_VERBOSE
stop_receiver
Index: librelp-1.9.0/tests/tls-basic-realistic.sh
===================================================================
--- librelp-1.9.0.orig/tests/tls-basic-realistic.sh 2021-01-26 09:19:29.368570620 +1300
+++ librelp-1.9.0/tests/tls-basic-realistic.sh 2021-01-26 09:19:29.364570732 +1300
@@ -3,7 +3,7 @@
# a more relastic test which actually sends a bit larger number
# of messages
. ${srcdir:=$(pwd)}/test-framework.sh
-NUMMESSAGES=50000
+NUMMESSAGES=10000
function actual_test() {
startup_receiver --tls-lib $TEST_TLS_LIB -T -a "name" -x ${srcdir}/tls-certs/ca.pem \

View File

@ -1,42 +0,0 @@
Description: Shrink (tls-)receiver-abort tests
Reduce the message count so they reliably succeed on slow platforms like
riscv64. Fast platforms work too.
Author: William Grant <wgrant@ubuntu.com>
Index: librelp-1.9.0-1ubuntu1/tests/receiver-abort.sh
===================================================================
--- librelp-1.9.0-1ubuntu1.orig/tests/receiver-abort.sh 2021-01-06 17:15:14.209477534 +1300
+++ librelp-1.9.0-1ubuntu1/tests/receiver-abort.sh 2021-01-06 17:15:14.205477483 +1300
@@ -5,11 +5,11 @@
. ${srcdir:=$(pwd)}/test-framework.sh
# export OPT_VERBOSE=-v # uncomment for debugging
export errorlog="error.$LIBRELP_DYN.log"
-export NUMMESSAGES=100000
+export NUMMESSAGES=10000
check_command_available timeout
startup_receiver -e ${TESTDIR}/${errorlog}
-./send -t 127.0.0.1 -p $TESTPORT -n$NUMMESSAGES --no-exit-on-error --kill-on-msg 20000 --kill-pid $RECEIVE_PID $OPT_VERBOSE &
+./send -t 127.0.0.1 -p $TESTPORT -n$NUMMESSAGES --no-exit-on-error --kill-on-msg 2000 --kill-pid $RECEIVE_PID $OPT_VERBOSE &
SENDER_PID=$!
for i in {1..3}; do
Index: librelp-1.9.0-1ubuntu1/tests/tls-receiver-abort.sh
===================================================================
--- librelp-1.9.0-1ubuntu1.orig/tests/tls-receiver-abort.sh 2021-01-06 17:15:14.209477534 +1300
+++ librelp-1.9.0-1ubuntu1/tests/tls-receiver-abort.sh 2021-01-06 17:15:14.205477483 +1300
@@ -4,12 +4,12 @@
# of messages
. ${srcdir:=$(pwd)}/test-framework.sh
check_command_available timeout
-export NUMMESSAGES=100000
+export NUMMESSAGES=10000
actual_test() {
startup_receiver
./send -t 127.0.0.1 -p $TESTPORT -n$NUMMESSAGES --no-exit-on-error \
- --kill-on-msg 20000 --kill-pid $RECEIVE_PID $OPT_VERBOSE &
+ --kill-on-msg 2000 --kill-pid $RECEIVE_PID $OPT_VERBOSE &
SENDER_PID=$!
for i in {1..3}; do

View File

@ -1 +1 @@
3.0 (quilt)
3.0 (native)