add glob support for pkg.output
code style
add testcase for duplicate glob ouput
Merge pull request #5 from sorrycc/glob-support-for-output

add glob support for pkg.output