blob: a7caad04744cb3b82e7db13624f00bed0c09d6b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
#!/bin/sh
# Copyright (c), 2024, Huawei Technologies Co, Ltd.
# Author: Zhihao Cheng <chengzhihao1@huawei.com>
#
# Test Description:
# Run all testcases under 'tests' directory
function print_line()
{
echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
}
TESTBINDIR=@TESTBINDIR@
print_line
$TESTBINDIR/authentication_refuse.sh
if [[ $? != 0 ]]; then
echo "authentication_refuse failed"
exit 1
fi
print_line
$TESTBINDIR/powercut_fsck_mount.sh
if [[ $? != 0 ]]; then
echo "powercut_fsck_mount failed"
exit 1
fi
print_line
$TESTBINDIR/cycle_corrupted_fsck_fault_inject.sh
if [[ $? != 0 ]]; then
echo "cycle_corrupted_fsck_fault_inject failed"
exit 1
fi
print_line
$TESTBINDIR/fsck_bad_image.sh
if [[ $? != 0 ]]; then
echo "fsck_bad_image failed"
exit 1
fi
print_line
$TESTBINDIR/random_corrupted_fsck.sh
if [[ $? != 0 ]]; then
echo "random_corrupted_fsck failed"
exit 1
fi
print_line
$TESTBINDIR/cycle_powercut_mount_fsck.sh
if [[ $? != 0 ]]; then
echo "cycle_powercut_mount_fsck failed"
exit 1
fi
print_line
$TESTBINDIR/cycle_mount_fsck_check.sh
if [[ $? != 0 ]]; then
echo "cycle_mount_fsck_check failed"
exit 1
fi
print_line
$TESTBINDIR/build_fs_from_dir.sh
if [[ $? != 0 ]]; then
echo "build_fs_from_dir failed"
exit 1
fi
exit 0
|