]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: dfu: cleanup before execution
authorStephen Warren <swarren@nvidia.com>
Tue, 1 Jul 2014 18:16:55 +0000 (12:16 -0600)
committerTom Rini <trini@ti.com>
Sat, 9 Aug 2014 15:17:00 +0000 (11:17 -0400)
commitc0e6663b0ae7a4972a17348c8a1f6c0ebb67f5d1
tree7547b2d01bdfdd2d45c62d92c11b38b99dfb4e71
parent90fadb57237268721da2ee038a6405fcb47b277a
test: dfu: cleanup before execution

Call cleanup() before running tests too. If a previous test was CTRL-C'd
some stale files may have been left around. dfu-util refuses to receive
a file to a filename that already exists, which results in false test
failures if the files aren't cleaned up first.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
test/dfu/dfu_gadget_test.sh