From Fedora Project Wiki

Revision as of 15:35, 2 October 2016 by Mattdm (talk | contribs) (Created page with "{{QA/Test_Case |description=Basic file-transfer functionality. |setup=You will need an Amazon Drive account. The level included with Amazon Prime will be sufficient. Note that...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Basic file-transfer functionality.

Setup

You will need an Amazon Drive account. The level included with Amazon Prime will be sufficient. Note that if this test puts you over your storage limit, you may incur charges; don't do that.

If you have not done so already, follow the Authorization steps for acd_cli. (To do: this should be split into an individual test case.)

How to test

  1. Create a remote folder: acd_cli mkdir /FedoraTest (There will be no output on success.)
  2. Upload a file: acd_cli upload /usr/share/doc/acd_cli/README.rst /FedoraTest/ (Will print [###] hashes and transfer stats while uploading.)
  3. Download that file to local temporary storage: acd_cli download /FedoraTest3/README.rst /tmp/</t> (Will print [###] hashes and transfer stats while downloading.)

Expected Results

  1. The file should be visible in the web-based Drive access at https://amazon.com/clouddrive/folder/root (under the FedoraTest folder we created.
  2. No Python tracebacks or other errors.
  3. No errors from the program while transferring.
  4. Downloaded and uploaded files are identical. (diff /tmp/README.rst /usr/share/doc/acd_cli/README.rst && echo OK should result in "OK", not a list of differences.)