Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Test for s3cmd put --follow-symlinks

  • Loading branch information...
commit 8c3bd0264a1e62ecb509497b38c6ee9c73806dc7 1 parent 7b5df26
@redsymbol redsymbol authored
Showing with 5 additions and 0 deletions.
  1. +4 −0 run-tests.py
  2. +1 −0  testsuite/etc/linked1.png
View
4 run-tests.py
@@ -392,6 +392,10 @@ def pbucket(tail):
"File %s/xyz/blahBlah/blah.txt copied to %s/copy/blahBlah/blah.txt" % (pbucket(1), pbucket(2)) ],
must_not_find = [ ".svn" ])
+## ====== Put symbolic link
+test_s3cmd("Put symbolic links", ['put', 'testsuite/etc/linked1.png', 's3://%s/xyz/' % bucket(1),'--follow-symlinks' ],
+ must_find_re = [ "linked1.png"])
+
## ====== Sync symbolic links
test_s3cmd("Sync symbolic links", ['sync', 'testsuite/', 's3://%s/xyz/' % bucket(1), '--no-encrypt', '--follow-symlinks' ],
must_find_re = [ "linked.png"])
View
1  testsuite/etc/linked1.png
Please sign in to comment.
Something went wrong with that request. Please try again.