tests: truncate metadata file for regenerate metadata test
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 17 Jun 2020 19:05:48 +0000 (15:05 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 17 Jun 2020 23:02:17 +0000 (19:02 -0400)
commite03007cd2a406adeeb2d8e89499e7984465c9cd0
treeb86c70003d13a3c95c8d83d72612308cbae0df4c
parent3a2dcb5e6b59f5985ce114f5cec631a4ec60b9eb
tests: truncate metadata file for regenerate metadata test

Truncating the metadata file ensure that we test the effect of the
regenerate metadata command. Otherwise we simply test the command
return.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I762dc849f69d2cf3fe8bf73c5a77d5c2a4aa4ae5
tests/regression/tools/regen-metadata/test_kernel
tests/regression/tools/regen-metadata/test_ust
This page took 0.025283 seconds and 4 git commands to generate.