Files
micropython/tools/mpremote/tests
Damien George 4fd5b72a8b tools/mpremote: Support trailing slash on dest for non-recursive copy.
This fixes a regression in db59e55fe7: prior
to that commit `mpremote` supported trailing slashes on the destination of
a normal (non-recursive) copy.

Add back support for that, with the semantics that a trailing slash
requires the destination to be an existing directory.

Also add a test for this.

Signed-off-by: Damien George <damien@micropython.org>
2024-11-13 11:51:35 +11:00
..

Tests for mpremote

This directory contains a set of tests for mpremote.

Requirements:

  • A device running MicroPython connected to a serial port on the host.
  • Python 3.x, bash and various Unix tools such as find, mktemp, sed, sort, tr.

To run the tests do:

$ ./run-mpremote-tests.sh

Each test should print "OK" if it passed. Otherwise it will print "CRASH", or "FAIL" and a diff of the expected and actual test output.