History log of /openbsd-current/regress/usr.bin/ssh/sftp-cmds.sh
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.20 01-Jul-2024 djm

use "lcd" to change directory before "lls" rather then "cd", since
the directory we're trying to list is local. Spotted by Corinna
Vinschen


# 1.19 29-Mar-2024 dtucker

Use egrep instead of grep -E. Some plaforms don't have the latter so this
makes things easier in -portable.


# 1.18 26-Mar-2024 dtucker

test -h is the POSIXly way of testing for a symlink. Reduces diff vs
Portable.


# 1.17 25-Mar-2024 dtucker

Verify string returned from local shell command.


# 1.16 25-Mar-2024 dtucker

Improve shell portability: grep -q is not portable so redirect stdout,
and use printf instead of relying on echo to do \n substitution. Reduces
diff vs Portable.


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE OPENBSD_7_5_BASE
# 1.15 31-Mar-2022 djm

regression test for sftp cp command


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.14 21-Jun-2013 djm

unbreak sftp-cmds for renamed test data (s/ls/data/)


# 1.13 17-May-2013 dtucker

Move the setting of DATA and COPY into test-exec.sh


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.12 01-Jun-2012 djm

don't delete .* on cleanup due to unintended env expansion; pointed out in
bz#2014 by openssh AT roumenpetrov.info


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.11 04-Dec-2010 djm

adjust for hard-link support


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.10 13-Aug-2009 djm

date: 2009/08/13 01:11:19; author: djm; state: Exp; lines: +10 -7
Swizzle options: "-P sftp_server_path" moves to "-D sftp_server_path",
add "-P port" to match scp(1). Fortunately, the -P option is only really
used by our regression scripts.

part of larger patch from carlosvsilvapt@gmail.com for his Google Summer
of Code work; ok deraadt markus


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.9 12-Dec-2007 djm

unbreak lls command and add a regress test that would have caught the
breakage; spotted by mouring@


# 1.8 24-Oct-2007 djm

comprehensive tests for sftp escaping its interaction with globbing;
ok dtucker@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.7 29-Aug-2006 djm

clean up our mess


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.6 07-Oct-2003 djm

more sftp quoting regress tests; ok markus


Revision tags: OPENBSD_3_4_BASE
# 1.5 19-Jul-2003 djm

regress test for sftp arguments with escaped quotes; ok markus


# 1.4 15-May-2003 mouring

Advanced put/get testing for sftp. OK @djm


# 1.3 04-Apr-2003 djm

More regression tests, including recent directory rename bug; ok markus@


Revision tags: OPENBSD_3_3_BASE
# 1.2 10-Jan-2003 djm

Cleanup before use (would break if run after t-sftp), less console spam


# 1.1 08-Jan-2003 djm

More regress tests for sftp, most commands are now exercised as is batchmode
ok markus@


# 1.19 29-Mar-2024 dtucker

Use egrep instead of grep -E. Some plaforms don't have the latter so this
makes things easier in -portable.


# 1.18 26-Mar-2024 dtucker

test -h is the POSIXly way of testing for a symlink. Reduces diff vs
Portable.


# 1.17 25-Mar-2024 dtucker

Verify string returned from local shell command.


# 1.16 25-Mar-2024 dtucker

Improve shell portability: grep -q is not portable so redirect stdout,
and use printf instead of relying on echo to do \n substitution. Reduces
diff vs Portable.


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE OPENBSD_7_5_BASE
# 1.15 31-Mar-2022 djm

regression test for sftp cp command


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.14 21-Jun-2013 djm

unbreak sftp-cmds for renamed test data (s/ls/data/)


# 1.13 17-May-2013 dtucker

Move the setting of DATA and COPY into test-exec.sh


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.12 01-Jun-2012 djm

don't delete .* on cleanup due to unintended env expansion; pointed out in
bz#2014 by openssh AT roumenpetrov.info


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.11 04-Dec-2010 djm

adjust for hard-link support


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.10 13-Aug-2009 djm

date: 2009/08/13 01:11:19; author: djm; state: Exp; lines: +10 -7
Swizzle options: "-P sftp_server_path" moves to "-D sftp_server_path",
add "-P port" to match scp(1). Fortunately, the -P option is only really
used by our regression scripts.

part of larger patch from carlosvsilvapt@gmail.com for his Google Summer
of Code work; ok deraadt markus


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.9 12-Dec-2007 djm

unbreak lls command and add a regress test that would have caught the
breakage; spotted by mouring@


# 1.8 24-Oct-2007 djm

comprehensive tests for sftp escaping its interaction with globbing;
ok dtucker@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.7 29-Aug-2006 djm

clean up our mess


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.6 07-Oct-2003 djm

more sftp quoting regress tests; ok markus


Revision tags: OPENBSD_3_4_BASE
# 1.5 19-Jul-2003 djm

regress test for sftp arguments with escaped quotes; ok markus


# 1.4 15-May-2003 mouring

Advanced put/get testing for sftp. OK @djm


# 1.3 04-Apr-2003 djm

More regression tests, including recent directory rename bug; ok markus@


Revision tags: OPENBSD_3_3_BASE
# 1.2 10-Jan-2003 djm

Cleanup before use (would break if run after t-sftp), less console spam


# 1.1 08-Jan-2003 djm

More regress tests for sftp, most commands are now exercised as is batchmode
ok markus@


# 1.18 26-Mar-2024 dtucker

test -h is the POSIXly way of testing for a symlink. Reduces diff vs
Portable.


# 1.17 25-Mar-2024 dtucker

Verify string returned from local shell command.


# 1.16 25-Mar-2024 dtucker

Improve shell portability: grep -q is not portable so redirect stdout,
and use printf instead of relying on echo to do \n substitution. Reduces
diff vs Portable.


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE OPENBSD_7_5_BASE
# 1.15 31-Mar-2022 djm

regression test for sftp cp command


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.14 21-Jun-2013 djm

unbreak sftp-cmds for renamed test data (s/ls/data/)


# 1.13 17-May-2013 dtucker

Move the setting of DATA and COPY into test-exec.sh


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.12 01-Jun-2012 djm

don't delete .* on cleanup due to unintended env expansion; pointed out in
bz#2014 by openssh AT roumenpetrov.info


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.11 04-Dec-2010 djm

adjust for hard-link support


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.10 13-Aug-2009 djm

date: 2009/08/13 01:11:19; author: djm; state: Exp; lines: +10 -7
Swizzle options: "-P sftp_server_path" moves to "-D sftp_server_path",
add "-P port" to match scp(1). Fortunately, the -P option is only really
used by our regression scripts.

part of larger patch from carlosvsilvapt@gmail.com for his Google Summer
of Code work; ok deraadt markus


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.9 12-Dec-2007 djm

unbreak lls command and add a regress test that would have caught the
breakage; spotted by mouring@


# 1.8 24-Oct-2007 djm

comprehensive tests for sftp escaping its interaction with globbing;
ok dtucker@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.7 29-Aug-2006 djm

clean up our mess


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.6 07-Oct-2003 djm

more sftp quoting regress tests; ok markus


Revision tags: OPENBSD_3_4_BASE
# 1.5 19-Jul-2003 djm

regress test for sftp arguments with escaped quotes; ok markus


# 1.4 15-May-2003 mouring

Advanced put/get testing for sftp. OK @djm


# 1.3 04-Apr-2003 djm

More regression tests, including recent directory rename bug; ok markus@


Revision tags: OPENBSD_3_3_BASE
# 1.2 10-Jan-2003 djm

Cleanup before use (would break if run after t-sftp), less console spam


# 1.1 08-Jan-2003 djm

More regress tests for sftp, most commands are now exercised as is batchmode
ok markus@


# 1.17 25-Mar-2024 dtucker

Verify string returned from local shell command.


# 1.16 25-Mar-2024 dtucker

Improve shell portability: grep -q is not portable so redirect stdout,
and use printf instead of relying on echo to do \n substitution. Reduces
diff vs Portable.


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE OPENBSD_7_5_BASE
# 1.15 31-Mar-2022 djm

regression test for sftp cp command


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.14 21-Jun-2013 djm

unbreak sftp-cmds for renamed test data (s/ls/data/)


# 1.13 17-May-2013 dtucker

Move the setting of DATA and COPY into test-exec.sh


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.12 01-Jun-2012 djm

don't delete .* on cleanup due to unintended env expansion; pointed out in
bz#2014 by openssh AT roumenpetrov.info


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.11 04-Dec-2010 djm

adjust for hard-link support


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.10 13-Aug-2009 djm

date: 2009/08/13 01:11:19; author: djm; state: Exp; lines: +10 -7
Swizzle options: "-P sftp_server_path" moves to "-D sftp_server_path",
add "-P port" to match scp(1). Fortunately, the -P option is only really
used by our regression scripts.

part of larger patch from carlosvsilvapt@gmail.com for his Google Summer
of Code work; ok deraadt markus


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.9 12-Dec-2007 djm

unbreak lls command and add a regress test that would have caught the
breakage; spotted by mouring@


# 1.8 24-Oct-2007 djm

comprehensive tests for sftp escaping its interaction with globbing;
ok dtucker@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.7 29-Aug-2006 djm

clean up our mess


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.6 07-Oct-2003 djm

more sftp quoting regress tests; ok markus


Revision tags: OPENBSD_3_4_BASE
# 1.5 19-Jul-2003 djm

regress test for sftp arguments with escaped quotes; ok markus


# 1.4 15-May-2003 mouring

Advanced put/get testing for sftp. OK @djm


# 1.3 04-Apr-2003 djm

More regression tests, including recent directory rename bug; ok markus@


Revision tags: OPENBSD_3_3_BASE
# 1.2 10-Jan-2003 djm

Cleanup before use (would break if run after t-sftp), less console spam


# 1.1 08-Jan-2003 djm

More regress tests for sftp, most commands are now exercised as is batchmode
ok markus@


# 1.15 31-Mar-2022 djm

regression test for sftp cp command


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.14 21-Jun-2013 djm

unbreak sftp-cmds for renamed test data (s/ls/data/)


# 1.13 17-May-2013 dtucker

Move the setting of DATA and COPY into test-exec.sh


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.12 01-Jun-2012 djm

don't delete .* on cleanup due to unintended env expansion; pointed out in
bz#2014 by openssh AT roumenpetrov.info


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.11 04-Dec-2010 djm

adjust for hard-link support


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.10 13-Aug-2009 djm

date: 2009/08/13 01:11:19; author: djm; state: Exp; lines: +10 -7
Swizzle options: "-P sftp_server_path" moves to "-D sftp_server_path",
add "-P port" to match scp(1). Fortunately, the -P option is only really
used by our regression scripts.

part of larger patch from carlosvsilvapt@gmail.com for his Google Summer
of Code work; ok deraadt markus


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.9 12-Dec-2007 djm

unbreak lls command and add a regress test that would have caught the
breakage; spotted by mouring@


# 1.8 24-Oct-2007 djm

comprehensive tests for sftp escaping its interaction with globbing;
ok dtucker@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.7 29-Aug-2006 djm

clean up our mess


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.6 07-Oct-2003 djm

more sftp quoting regress tests; ok markus


Revision tags: OPENBSD_3_4_BASE
# 1.5 19-Jul-2003 djm

regress test for sftp arguments with escaped quotes; ok markus


# 1.4 15-May-2003 mouring

Advanced put/get testing for sftp. OK @djm


# 1.3 04-Apr-2003 djm

More regression tests, including recent directory rename bug; ok markus@


Revision tags: OPENBSD_3_3_BASE
# 1.2 10-Jan-2003 djm

Cleanup before use (would break if run after t-sftp), less console spam


# 1.1 08-Jan-2003 djm

More regress tests for sftp, most commands are now exercised as is batchmode
ok markus@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.14 21-Jun-2013 djm

unbreak sftp-cmds for renamed test data (s/ls/data/)


# 1.13 17-May-2013 dtucker

Move the setting of DATA and COPY into test-exec.sh


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.12 01-Jun-2012 djm

don't delete .* on cleanup due to unintended env expansion; pointed out in
bz#2014 by openssh AT roumenpetrov.info


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.11 04-Dec-2010 djm

adjust for hard-link support


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.10 13-Aug-2009 djm

date: 2009/08/13 01:11:19; author: djm; state: Exp; lines: +10 -7
Swizzle options: "-P sftp_server_path" moves to "-D sftp_server_path",
add "-P port" to match scp(1). Fortunately, the -P option is only really
used by our regression scripts.

part of larger patch from carlosvsilvapt@gmail.com for his Google Summer
of Code work; ok deraadt markus


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.9 12-Dec-2007 djm

unbreak lls command and add a regress test that would have caught the
breakage; spotted by mouring@


# 1.8 24-Oct-2007 djm

comprehensive tests for sftp escaping its interaction with globbing;
ok dtucker@


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.7 29-Aug-2006 djm

clean up our mess


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.6 07-Oct-2003 djm

more sftp quoting regress tests; ok markus


Revision tags: OPENBSD_3_4_BASE
# 1.5 19-Jul-2003 djm

regress test for sftp arguments with escaped quotes; ok markus


# 1.4 15-May-2003 mouring

Advanced put/get testing for sftp. OK @djm


# 1.3 04-Apr-2003 djm

More regression tests, including recent directory rename bug; ok markus@


Revision tags: OPENBSD_3_3_BASE
# 1.2 10-Jan-2003 djm

Cleanup before use (would break if run after t-sftp), less console spam


# 1.1 08-Jan-2003 djm

More regress tests for sftp, most commands are now exercised as is batchmode
ok markus@