On Thu, 12 Mar 2015, Carson Gaspar wrote:
On 3/12/15 9:37 AM, mikep@xxxxxxxxxxxxxxx wrote:
I had the same issue with OpenSSH 6.7, which was never resolved; we do
have '/usr/ucb' on our paths, but I renamed '/usr/ucb/test' to
'/usr/ucb/test.sav' many years ago as it messed up other builds/installs.
Any other tests/checks I can run?
Try with SHELL=TEST_SHELL=/bin/bash
Tried with:
make SHELL=/bin/sh TEST_SHELL=/bin/sh tests LTESTS=sftp-perm SKIP_UNIT=1
make SHELL=/bin/bash TEST_SHELL=/bin/bash tests LTESTS=sftp-perm
SKIP_UNIT=1
make SHELL=/bin/ksh TEST_SHELL=/bin/ksh tests LTESTS=sftp-perm SKIP_UNIT=1
All fail at the same point, although the '/bin/sh' fails with:
run test sftp-perm.sh ...
/opt/local/src/security/openssh/regress/test-exec.sh: test: unknown
operator -nt
make[1]: *** [t-exec] Error 1
make[1]: Leaving directory `/opt/local/src/security/openssh/regress'
make: *** [tests] Error 2
instead of:
run test sftp-perm.sh ...
YYY
sftp permissions: read-only setstat
XXX PRE RW: -r-------- 1 root 0 Mar 12 16:29
/opt/local/src/security/openssh/regress/copy
XXX POST RW: -rwx------ 1 root 0 Mar 12 16:29
/opt/local/src/security/openssh/regress/copy
XXX PRE RO: -r-------- 1 root 0 Mar 12 16:29
/opt/local/src/security/openssh/regress/copy
XXX POST RO: -r-------- 1 root 0 Mar 12 16:29
/opt/local/src/security/openssh/regress/copy
postcondition check failed: setstat readonly
FATAL: XXX
make[1]: *** [t-exec] Error 1
make[1]: Leaving directory `/opt/local/src/security/openssh/regress'
make: *** [tests] Error 2
Mike
--
Mike Peterson Information Security Analyst - Audit
E-mail: mikep@xxxxxxxxxxxxxxx WWW: http://www.noc.utoronto.ca/
Tel: 416-978-5230 Fax: 416-978-6620
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev