11 lines
287 B
Bash
Executable file
11 lines
287 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
if [ $(id -u) -ne 0 ]; then
|
|
rake clean clobber compile
|
|
for file in test/readme_examples_test.rb test/unprivileged/*_test.rb; do
|
|
ruby -Ilib ${file} --no-use-color
|
|
done
|
|
else
|
|
echo "You must be an unprivileged user to run these tests."
|
|
exit 1
|
|
fi
|