Some tests (e.g. 011) make loopback devices and mount them in their
directories. These devices let cleaning fail. This patch let the check
script unmount them after succeeding.

Signed-off-by: Hitoshi Mitake <[email protected]>
---
 tests/functional/check |    1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/functional/check b/tests/functional/check
index 9fee2ef..a609c35 100755
--- a/tests/functional/check
+++ b/tests/functional/check
@@ -518,6 +518,7 @@ do
                        echo "$seq `expr $stop - $start`" >>$tmp.time
                        if ! $keep_passed
                        then
+                           _cleanup
                            rm -rf $STORE
                        fi
                    fi
-- 
1.7.10.4

-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to