From f01f3b2bc18c9e6482e3fb6a31f1feaa8b87e610 Mon Sep 17 00:00:00 2001 From: Oliver Sanders Date: Mon, 13 Feb 2023 11:09:12 +0000 Subject: [PATCH] sqlalchemy: disable stderr tests * Disable stderr tests until sqlalchemy has been upgraded to version 2 and deprecation warnings addressed * See https://github.com/metomi/rose/issues/2674 --- t/rosa-svn-post-commit/00-basic.t | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/t/rosa-svn-post-commit/00-basic.t b/t/rosa-svn-post-commit/00-basic.t index cfb445b34a..8b9c5ce048 100755 --- a/t/rosa-svn-post-commit/00-basic.t +++ b/t/rosa-svn-post-commit/00-basic.t @@ -25,7 +25,9 @@ if ! python3 -c 'import sqlalchemy' 2>/dev/null; then skip_all '"sqlalchemy" not installed' fi -tests 71 +tests 59 # 71 +# TODO: uncomment the stderr tests after sqlalchemy has been upgraded to +# version 2 - https://github.com/metomi/rose/issues/2674 #------------------------------------------------------------------------------- mkdir repos svnadmin create repos/foo || exit 1 @@ -69,7 +71,7 @@ title=test post commit hook: create __ROSE_SUITE_INFO rosie create -q -y --info-file=rose-suite.info --no-checkout file_cmp "$TEST_KEY-hook.out" $PWD/rosa-svn-post-commit.out > $PWD/roses/foo-aa000/rose-suite.info svn commit -q -m 't' $PWD/roses/foo-aa000 svn up -q $PWD/roses/foo-aa000 file_cmp "$TEST_KEY-hook.out" $PWD/rosa-svn-post-commit.out $PWD/roses/foo-ROSIE/rosie-keys svn add -q $PWD/roses/foo-ROSIE/rosie-keys || exit 1 svn ci -q -m t $PWD/roses/foo-ROSIE || exit 1 file_cmp "$TEST_KEY-hook.out" $PWD/rosa-svn-post-commit.out 'null' svn import -q -m t 'null' "${SVN_URL}/a/a/0/0/1/null" || exit 1 file_cmp "${TEST_KEY}-hook.out" "${PWD}/rosa-svn-post-commit.out" <'/dev/null' -file_cmp "${TEST_KEY}-hook.err" "${PWD}/rosa-svn-post-commit.err" <'/dev/null' +# file_cmp "${TEST_KEY}-hook.err" "${PWD}/rosa-svn-post-commit.err" <'/dev/null' file_cmp "${TEST_KEY}-hook.rc" "${PWD}/rosa-svn-post-commit.rc" <<<0 #------------------------------------------------------------------------------- exit 0