From b9202e340663538f1f7075b4898e564550db450d4b6eaa0b58d3e9572ab7f887 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 9 Apr 2019 07:59:09 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/shells/tcsh?expand=0&rev=76 --- tcsh-6.20.00.dif | 15 ++++++++++++--- tcsh.spec | 2 +- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/tcsh-6.20.00.dif b/tcsh-6.20.00.dif index 0d0f92f..2402731 100644 --- a/tcsh-6.20.00.dif +++ b/tcsh-6.20.00.dif @@ -11,9 +11,9 @@ tc.str.c | 2 +- tc.who.c | 3 +++ tcsh.man | 2 +- + tests/lexical.at | 6 +++--- tw.h | 4 ++++ - tests/lexical.at | 4 ++-- - 14 files changed, 49 insertions(+), 17 deletions(-) + 14 files changed, 50 insertions(+), 18 deletions(-) --- config/linux +++ config/linux 2016-11-25 09:07:12.893851835 +0000 @@ -252,7 +252,7 @@ #define TW_ZERO 0x0fff --- tests/lexical.at -+++ tests/lexical.at 2019-04-08 14:27:27.452829093 +0200 ++++ tests/lexical.at 2019-04-09 07:40:10.142511227 +0000 @@ -567,10 +567,10 @@ run=3 ]]) AT_DATA([uniformity_test.csh], @@ -266,3 +266,12 @@ diff -uprN ./output1 ./output2 >& /dev/null +@@ -587,7 +587,7 @@ AT_DATA([quoting_result_test.csh], + echo "(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP\)(HOST=db\)(PORT=1521\)\)(CONNECT_DATA=(SERVER=DEDICATED\)(SERVICE_NAME=bns03\)\)\)" > ./expected_result + + set string = "jdbc_url=jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=db)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=bns03)))" +-set SERVICE_NAME_LOG = `echo "$string" | grep '^jdbc_url' | sed -ne 's/^[^=]*=[^@]*@[:blank:]*\([^$]*\)$/\1/p' | perl -pe 's/\)/\\\)/g'` ++set SERVICE_NAME_LOG = `echo "$string" | grep '^jdbc_url' | sed -ne 's/^[^=]*=[^@]*@[[:blank:]]*\([^$]*\)$/\1/p' | perl -pe 's/\)/\\\)/g'` + + echo "$SERVICE_NAME_LOG" > ./actual_result + diff --git a/tcsh.spec b/tcsh.spec index dedf8b0..6623211 100644 --- a/tcsh.spec +++ b/tcsh.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ #