1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-09-11 13:30:44 +03:00

Support EXEEXT in self-test.

This commit is contained in:
Simon Josefsson
2008-11-27 16:00:07 +00:00
parent 19f78244de
commit e47bedf17c
2 changed files with 4 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ TESTS += ssh2.sh
endif
check_PROGRAMS = $(ctests)
TESTS_ENVIRONMENT = SSHD=$(SSHD)
TESTS_ENVIRONMENT = SSHD=$(SSHD) EXEEXT=$(EXEEXT)
EXTRA_DIST = ssh2.sh
EXTRA_DIST += etc/host etc/host.pub etc/user etc/user.pub

View File

@@ -6,10 +6,11 @@
# return exit code.
srcdir=${srcdir:-$PWD}
srcdir=`cd $srcdir; pwd`
cmd="./ssh2"
SSHD=${SSHD:-/usr/sbin/sshd}
cmd="./ssh2${EXEEXT}"
srcdir=`cd $srcdir; pwd`
PRIVKEY=$srcdir/etc/user
export PRIVKEY
PUBKEY=$srcdir/etc/user.pub