Commit c72d4a32 authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: ChangeLog:1.388
Rev: src/sftp/testsuite/Makefile.am:1.5
Rev: src/sftp/testsuite/connect-test:1.3
Rev: src/sftp/testsuite/get-1-test:1.3
Rev: src/sftp/testsuite/ls-1-test:1.3
Rev: src/sftp/testsuite/ls-2-test:1.3
Rev: src/sftp/testsuite/put-1-test:1.3
Rev: src/sftp/testsuite/setup-env:1.4
Rev: src/sftp/testsuite/teardown-env:1.4
parent a8c5ebb3
2001-08-29 Niels Mller <nisse@ehand.com>
* src/sftp/testsuite: Fixed scripts to work outside of $srcdir.
* src/sftp/buffer.c, src/sftp/client.c: Include string.h.
* src/algorithms.c (all_symmetric_algorithms): Use aes256-cbc as
......
......@@ -4,5 +4,6 @@ EXTRA_DIST = common.sh run-tests \
setup-env teardown-env \
$(TS_SH)
# I thought srcdir was exported automatically?
check:
$(srcdir)/run-tests $(TS_SH)
srcdir="$(srcdir)" $(srcdir)/run-tests $(TS_SH)
#! /bin/sh
. ./common.sh
if [ -z "$srcdir" ] ; then
srcdir=.
fi
. $srcdir/common.sh
client
#! /bin/sh
. ./common.sh
if [ -z "$srcdir" ] ; then
srcdir=.
fi
. $srcdir/common.sh
client get "x1" | grep -q foo
......
#! /bin/sh
. ./common.sh
if [ -z "$srcdir" ] ; then
srcdir=.
fi
. $srcdir/common.sh
# Match the d directory
client ls "" | grep -q '^d.* d$'
......
#! /bin/sh
. ./common.sh
if [ -z "$srcdir" ] ; then
srcdir=.
fi
. $srcdir/common.sh
# Match the d directory
client ls "d" | grep -q ' x3$'
......
#! /bin/sh
. ./common.sh
if [ -z "$srcdir" ] ; then
srcdir=.
fi
. $srcdir/common.sh
rm -f "$TESTHOME/d/new"
echo data | client put "d/new" && \
......
#! /bin/sh
. ./common.sh
if [ -z "$srcdir" ] ; then
srcdir=.
fi
. $srcdir/common.sh
# Clean up first.
rm -rf $TESTHOME
......
#! /bin/sh
. ./common.sh
if [ -z "$srcdir" ] ; then
srcdir=.
fi
. $srcdir/common.sh
rm -rf $TESTHOME
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment