Re: Call for testing: OpenSSH 6.8

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Fri, 6 Mar 2015, Damien Miller wrote:

> On Wed, 4 Mar 2015, mikep@xxxxxxxxxxxxxxx wrote:
> 
> > Re-testing 'openssh-SNAP-20150305' on Solaris 10, with 'gcc':
> > 
> > Configure, 'make' complete; 'make tests' fails at:
> > 
> > postcondition check failed: setstat readonly
> 
> I couldn't reporoduce this on an illumos zone that I had access to,
> will try installing solaris10 next.

I've been unable to get Solaris 10 working in a VM. Could you please
apply the below patch and run:

make tests LTESTS=sftp-perm SKIP_UNIT=1

and report the last 20 or so lines of output? (I'm mostly interested in those
prefixed with 'XXX')

diff --git a/regress/sftp-perm.sh b/regress/sftp-perm.sh
index 304ca0a..9a3740e 100644
--- a/regress/sftp-perm.sh
+++ b/regress/sftp-perm.sh
@@ -41,13 +41,17 @@ ro_test() {
 	verbose "$tid: read-only $_desc"
 	# Plain (no options, mostly to test that _cmd is good)
 	prepare_files "$_prep"
+	printf "XXX PRE RW: " ; ls -l $COPY
 	prepare_server
 	run_client "$_cmd" || fail "plain $_desc failed"
+	printf "XXX POST RW: " ; ls -l $COPY
 	postcondition "$_desc no-readonly" "$_expect_success_post"
 	# Read-only enabled
 	prepare_files "$_prep"
+	printf "XXX PRE RO: " ; ls -l $COPY
 	prepare_server -R
 	run_client "$_cmd" && fail "read-only $_desc succeeded"
+	printf "XXX POST RO: " ; ls -l $COPY
 	postcondition "$_desc readonly" "$_expect_fail_post"
 }
 
@@ -80,20 +84,22 @@ perm_test() {
 	run_client "$_cmd" && fail "no whitelist $_op succeeded"
 	postcondition "$_op not in whitelist" "$_expect_fail_post"
 }
-
+if false ; then
 ro_test \
 	"upload" \
 	"put $DATA $COPY" \
 	"" \
 	"cmp $DATA $COPY" \
 	"test ! -f $COPY"
-
+fi
+echo YYY
 ro_test \
 	"setstat" \
 	"chmod 0700 $COPY" \
 	"touch $COPY; chmod 0400 $COPY" \
 	"test -x $COPY" \
 	"test ! -x $COPY"
+fatal XXX
 
 ro_test \
 	"rm" \
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux