bsdcontrol.rb/bin/run-superuser-tests

12 lines
241 B
Text
Raw Normal View History

2024-03-08 00:27:20 +01:00
#!/bin/sh
set -e
if [ $(id -u) = 0 ]; then
rake clean clobber compile
for file in test/superuser/*_test.rb; do
ruby -Ilib ${file} --no-use-color
done
else
echo "You must be root to run superuser tests."
exit 1
fi