mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-20 15:06:34 -05:00
More coverage support
This commit is contained in:
parent
8a727975ab
commit
c724b47189
3 changed files with 178 additions and 56 deletions
10
makecov.sh
10
makecov.sh
|
|
@ -3,6 +3,9 @@
|
|||
# Run the Coverage test
|
||||
#
|
||||
|
||||
# Ask root permissions at the start
|
||||
sudo echo We are root
|
||||
|
||||
make distclean
|
||||
|
||||
if ! ./configure --enable-coverage --enable-sde; then
|
||||
|
|
@ -17,6 +20,9 @@ if ! make check; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Root test for Btrfs
|
||||
sudo make btrfscheck
|
||||
|
||||
# Run commands on a real array to test smartctl
|
||||
sudo ./snapraid probe
|
||||
sudo ./snapraid up
|
||||
|
|
@ -24,7 +30,11 @@ sudo ./snapraid smart
|
|||
sudo ./snapraid probe
|
||||
sudo ./snapraid devices
|
||||
sudo ./snapraid down
|
||||
sudo ./snapraid test-downifup
|
||||
|
||||
if ! make lcov_capture lcov_html; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Remove root generated files
|
||||
sudo make clean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue