aboutsummaryrefslogtreecommitdiff
path: root/tests/fs-tests/stress/stress00.sh
diff options
context:
space:
mode:
authorMarcus Prebble <marcus.prebble@axis.com>2012-10-16 13:51:01 +0200
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-10-26 16:55:57 +0300
commit334221cf5a94ec3a75c7620661eb5b7b5332256c (patch)
tree51bf303c959d04e4de539017a41f2e6eb2142675 /tests/fs-tests/stress/stress00.sh
parent17f66065837415e0b1b4d619f12a2219af987c80 (diff)
mkfs.ubifs: Improve error handling of is_contained()
The is_contained() function returns -1 if an error occurs when canonicalizing the output file path/root directory. This resulted in the confusing error message 'Error: The output file cannot be in the UBIFS root' when specifying a non-existent directory for the output. This patch changes the error handling to display a different error message for the case when is_contained() returns -1. Additionally it frees all memory allocated by is_contained(). Signed-off-by: Marcus Prebble <marcus.prebble@axis.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'tests/fs-tests/stress/stress00.sh')
0 files changed, 0 insertions, 0 deletions