tests/064: fix wrong output

The result of 'collie node list' in 064.out is not reweighted.  This
fixes it.

Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Liu Yuan <namei.unix@gmail.com>
tests: remove 063 and 064 from md group

These tests assume that -md option is not specified.

Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Liu Yuan <namei.unix@gmail.com>
tests: count the number of objects instead of using node/md info

This introduces helpers _node_info() and _md_info() to count all the
objects in the store dictory.  By using this function instead of
'collie node info' and 'collie node md info', we can get the unique
output in spite of the underlying filesystem.

Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Liu Yuan <namei.unix@gmail.com>
tests: add support for running check outside tests directory

Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Liu Yuan <namei.unix@gmail.com>
tests: don't use /tmp for each test

Any files under /tmp can be removed by the succeeding tests.  Creating
a temporary file under $STORE allows us to check the testing results
later.

Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Liu Yuan <namei.unix@gmail.com>
tests: add support for running testcase file directly

Currently, out test framework assumes that all the testcases are
executed via check script.  To run a testcase script directly
(e.g. sudo ./001), this patch moves a variable MD to common.config,
assigns the default value to STORE, and makes 'iam' a global variable.

Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Liu Yuan <namei.unix@gmail.com>