coverage.sh: always run --help and --version tests as root
This commit is contained in:
parent
87c742eded
commit
36d36d85ab
1 changed files with 2 additions and 6 deletions
|
@ -213,10 +213,8 @@ $CMD --help | grep --quiet SYNOPSIS
|
|||
END
|
||||
if [ "$HAVE_QEMU" = "yes" ]; then
|
||||
./run_qemu.sh
|
||||
elif [ "$defaultmode" = "root" ]; then
|
||||
./run_null.sh SUDO
|
||||
else
|
||||
./run_null.sh
|
||||
./run_null.sh SUDO
|
||||
fi
|
||||
|
||||
print_header "test --version"
|
||||
|
@ -228,10 +226,8 @@ $CMD --version | egrep --quiet '^mmdebstrap [0-9](\.[0-9])+$'
|
|||
END
|
||||
if [ "$HAVE_QEMU" = "yes" ]; then
|
||||
./run_qemu.sh
|
||||
elif [ "$defaultmode" = "root" ]; then
|
||||
./run_null.sh SUDO
|
||||
else
|
||||
./run_null.sh
|
||||
./run_null.sh SUDO
|
||||
fi
|
||||
|
||||
print_header "mode=root,variant=apt: create directory"
|
||||
|
|
Loading…
Reference in a new issue