overlay/041: fix call to _overlay_check_scratch_dirs
authorAmir Goldstein <amir73il@gmail.com>
Thu, 26 Apr 2018 05:53:25 +0000 (23:53 -0600)
committerEryu Guan <guaneryu@gmail.com>
Fri, 27 Apr 2018 02:46:09 +0000 (10:46 +0800)
commite9f768ef0ebb71d39ced4c6ff7ff796018958648
treef43ec1df34943a1f0643632befd0cb59107844cc
parent91481af94986d17f95a7b0e0d41d771374112d6f
overlay/041: fix call to _overlay_check_scratch_dirs

_overlay_check_scratch_dirs needs to base scratch fs to be mounted,
so only unmount overlay before check.

Remove redundant definition of upperdir/workdir path, which also
uses hardcoded path instead of the config vars OVL_UPPER/OVL_WORK.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/overlay/041