Revert: allow non-root user to run functests
This caused Jenkins to not run functests. Signed-off-by: Prashanth Pai <ppai@redhat.com>
This commit is contained in:
parent
cb7e968873
commit
191e55b976
@ -48,11 +48,6 @@ fail()
|
|||||||
### MAIN ###
|
### MAIN ###
|
||||||
# This script runs functional tests only with tempauth
|
# This script runs functional tests only with tempauth
|
||||||
|
|
||||||
if [ $EUID -ne 0 ]; then
|
|
||||||
echo "Functional tests must be run as root"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Only run if there is no configuration in the system
|
# Only run if there is no configuration in the system
|
||||||
if [ -x /etc/swift ] ; then
|
if [ -x /etc/swift ] ; then
|
||||||
quit "/etc/swift exists, cannot run functional tests."
|
quit "/etc/swift exists, cannot run functional tests."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user