diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-12-22 19:30:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-12-22 19:30:46 +0000 |
commit | e436cbd9649f3c61cc88b59452944a0df1c14436 (patch) | |
tree | bcab471501730a39e04f7d2396dc6b1aafc93004 /tests/qtbz2 | |
parent | ignore generated files (diff) | |
download | portage-utils-e436cbd9649f3c61cc88b59452944a0df1c14436.tar.gz portage-utils-e436cbd9649f3c61cc88b59452944a0df1c14436.tar.bz2 portage-utils-e436cbd9649f3c61cc88b59452944a0df1c14436.zip |
redo test output to get info on a per-test basis
Diffstat (limited to 'tests/qtbz2')
-rwxr-xr-x | tests/qtbz2/dotest | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/tests/qtbz2/dotest b/tests/qtbz2/dotest index 123f7d4..1f10ac1 100755 --- a/tests/qtbz2/dotest +++ b/tests/qtbz2/dotest @@ -30,33 +30,38 @@ raw_tar_check() rm $1 } -# check basic creation +################ qtbz2 -j tarbz2 xpak tbz2 raw_tar_check tbz2 +tpass "check basic creation" -# check basic creation with dir change +################ mkdir new cd new qtbz2 -j tarbz2 xpak tbz2 -d .. raw_tar_check tbz2 cd .. rmdir new +tpass "check basic creation with dir change" -# check basic creation (with guess) +################ qtbz2 -j tarbz2 xpak raw_tar_check tarbz2.tbz2 +tpass "check basic creation (with guess)" -# check basic creation (with better guess) +################ mv tarbz2 x.tar.bz2 mv xpak x.xpak qtbz2 -j x.tar.bz2 x.xpak raw_tar_check x.tbz2 +tpass "check basic creation (with better guess)" -# check basic creation (with best guess) +################ qtbz2 -j x.tar.bz2 raw_tar_check x.tbz2 +tpass "check basic creation (with best guess)" -# check basic splitting +################ qtbz2 -j x.tar.bz2 mkdir new cd new @@ -66,15 +71,17 @@ cmp {.,..}/x.xpak rm x.{xpak,tar.bz2} cd .. rmdir new +tpass "check basic splitting" -# check basic splitting to diff dir +################ mkdir new qtbz2 -s x.tbz2 -d new cmp {.,new}/x.tar.bz2 cmp {.,new}/x.xpak rm new/x.{xpak,tar.bz2} rmdir new +tpass "check basic splitting to diff dir" cleantmpdir -pass +end |