test: dm: eth: Handle failed test env cleanup
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 20 May 2015 19:27:33 +0000 (14:27 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 21 May 2015 13:16:17 +0000 (09:16 -0400)
commit09129bec8e1f2cd89d48b3ae98dcd83707d5e606
treed513a65ecc60aeb691381151a9e9bdb4a4d8272d
parent7cccc66af5c33b0ceb67fb9a77b82e93a734091e
test: dm: eth: Handle failed test env cleanup

Make sure that the env gets cleaned up after a test fails so that other
tests aren't affected.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
test/dm/eth.c