You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2022/10/26 23:16:09 UTC
[tomee-tck] branch jakartaee9-tck updated (437dd8c -> 04936aa)
This is an automated email from the ASF dual-hosted git repository.
dblevins pushed a change to branch jakartaee9-tck
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
from 437dd8c Set protocols="TLSv1.2" to disable TLSv1.3 since the TCK requires post-handshake authentication and the Java 11 client does not support that.
new 12bb2d8 Ensure the --source option causes an exit if file not found
new 04936aa Use the users environment (removing -l) This may cause issues in CI jobs
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
runtests | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
[tomee-tck] 02/02: Use the users environment (removing -l) This may cause issues in CI jobs
Posted by db...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
dblevins pushed a commit to branch jakartaee9-tck
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
commit 04936aacf77bd2bbd8d7d316451e5ecbbfc014fe
Author: David Blevins <db...@tomitribe.com>
AuthorDate: Wed Oct 26 16:15:01 2022 -0700
Use the users environment (removing -l)
This may cause issues in CI jobs
---
runtests | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtests b/runtests
index 41e0946..b5025b2 100755
--- a/runtests
+++ b/runtests
@@ -1,4 +1,4 @@
-#!/bin/bash -l
+#!/bin/bash
##
## $Revision$ $Date$
##
[tomee-tck] 01/02: Ensure the --source option causes an exit if file not found
Posted by db...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
dblevins pushed a commit to branch jakartaee9-tck
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
commit 12bb2d85897ad07c4147e338fae9e70677912999
Author: David Blevins <db...@tomitribe.com>
AuthorDate: Wed Oct 26 16:14:08 2022 -0700
Ensure the --source option causes an exit if file not found
---
runtests | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/runtests b/runtests
index 7e60be8..41e0946 100755
--- a/runtests
+++ b/runtests
@@ -202,7 +202,7 @@ processOptions() {
--source)
assertOptionArg "$1" "$2"
- src="$(readlink -f "$2")"
+ src="$2"
shift
;;
@@ -323,9 +323,14 @@ echo ">>> config => $( echo "$CONFIG" | sed 's/ /\n/g')"
echo "" # just an empty line
[ ! -z "$src" ] && {
- ls "$src"
+ [ -f "$src" ] || {
+ echo "Cannot source file $src: file not found"
+ exit 1
+ }
+
source "$src"
}
+
[ ! -z $env ] && export
# printing the content of the 2 main directories