mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-16 09:46:55 +00:00
btrfs-progs: tests, adjust alignment of the pretty command name
Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
parent
8fa12c10e7
commit
ca7b429f26
2
Makefile
2
Makefile
@ -143,7 +143,7 @@ $(BUILDDIRS):
|
||||
|
||||
test: btrfs btrfs-convert btrfs-image btrfs-corrupt-block
|
||||
$(Q)for t in $(TESTS); do \
|
||||
echo " [TEST] $$t"; \
|
||||
echo " [TEST] $$t"; \
|
||||
bash tests/$$t || exit 1; \
|
||||
done
|
||||
|
||||
|
@ -15,7 +15,7 @@ _fail()
|
||||
rm -f convert-tests-results.txt
|
||||
|
||||
test(){
|
||||
echo " [TEST] $1"
|
||||
echo " [TEST] $1"
|
||||
shift
|
||||
echo "creating ext image with: $*" >> convert-tests-results.txt
|
||||
# 256MB is the smallest acceptable btrfs image.
|
||||
|
@ -46,7 +46,7 @@ check_prereq btrfs
|
||||
|
||||
for i in $(find $top/tests/fsck-tests -maxdepth 1 -mindepth 1 -type d | sort)
|
||||
do
|
||||
echo " [TEST] $(basename $i)"
|
||||
echo " [TEST] $(basename $i)"
|
||||
cd $i
|
||||
if [ -x test.sh ]; then
|
||||
# Type 2
|
||||
|
@ -3,12 +3,12 @@
|
||||
source $top/tests/common
|
||||
|
||||
if [ -z $TEST_DEV ]; then
|
||||
echo " [NOTRUN] extent tree rebuild, need TEST_DEV variant"
|
||||
echo " [NOTRUN] extent tree rebuild, need TEST_DEV variant"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -z $TEST_MNT ];then
|
||||
echo " [NOTRUN] extent tree rebuild, need TEST_MNT variant"
|
||||
echo " [NOTRUN] extent tree rebuild, need TEST_MNT variant"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user