btrfs-progs: tests: print test type

Makes it a bit more clear:

    [TEST/conv]   ext4 32k nodesize, btrfs no-holes
    [TEST/conv]   ext2 64k nodesize, btrfs no-holes
    [TEST/conv]   ext3 64k nodesize, btrfs no-holes
    [TEST/conv]   ext4 64k nodesize, btrfs no-holes
    [TEST]        misc-tests.sh
    [TEST/misc]   001-btrfstune-features
    [TEST/misc]   002-uuid-rewrite
    [TEST/misc]   003-zero-log
    [TEST/misc]   004-shrink-fs
    [TEST/misc]   005-convert-progress-thread-crash
    [TEST/misc]   006-image-on-missing-device
    [TEST/misc]   007-subvolume-sync
    [TEST/misc]   008-leaf-crossing-stripes
    [TEST/misc]   009-subvolume-sync-must-wait
    [TEST/misc]   010-convert-delete-ext2-subvol
    [TEST/misc]   011-delete-missing-device
    [TEST]        fuzz-tests.sh
    [TEST/fuzz]   001-simple-unmounted

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2015-11-30 18:13:01 +01:00
parent 88f584cfea
commit 05d4159946
5 changed files with 7 additions and 7 deletions

View File

@ -26,9 +26,9 @@ convert_test() {
shift
if [ -z "$features" ]; then
echo " [TEST] $1, btrfs defaults"
echo " [TEST/conv] $1, btrfs defaults"
else
echo " [TEST] $1, btrfs $features"
echo " [TEST/conv] $1, btrfs $features"
fi
nodesize=$2
shift 2
@ -52,7 +52,7 @@ convert_test() {
}
if ! [ -z "$TEST" ]; then
echo " [TEST] skipped all convert tests, TEST=$TEST"
echo " [TEST/conv] skipped all convert tests, TEST=$TEST"
exit 0
fi

View File

@ -32,7 +32,7 @@ run_one_test() {
local testname
testname="$1"
echo " [TEST] $(basename $testname)"
echo " [TEST/fsck] $(basename $testname)"
cd $testname
echo "=== Entering $testname" >> $RESULTS
if [ -x test.sh ]; then

View File

@ -31,7 +31,7 @@ do
cd $i
if [ -x test.sh ]; then
echo "=== Entering $i" >> $RESULTS
echo " [TEST] $name"
echo " [TEST/fuzz] $name"
./test.sh
if [ $? -ne 0 ]; then
_fail "test failed for case $(basename $i)"

View File

@ -34,7 +34,7 @@ check_prereq btrfs
for i in $(find $TOP/tests/misc-tests -maxdepth 1 -mindepth 1 -type d \
${TEST:+-name "$TEST"} | sort)
do
echo " [TEST] $(basename $i)"
echo " [TEST/misc] $(basename $i)"
cd $i
echo "=== Entering $i" >> $RESULTS
if [ -x test.sh ]; then

View File

@ -31,7 +31,7 @@ check_prereq btrfs
for i in $(find $TOP/tests/mkfs-tests -maxdepth 1 -mindepth 1 -type d \
${TEST:+-name "$TEST"} | sort)
do
echo " [TEST] $(basename $i)"
echo " [TEST/mkfs] $(basename $i)"
cd $i
echo "=== Entering $i" >> $RESULTS
if [ -x test.sh ]; then