Fixed return value evaluation in test.sh

This commit is contained in:
Florian "flowdy" Heß 2016-06-25 19:18:31 +02:00
parent 2639700adb
commit 3a5d70d889
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
source t/schema.sh
if [ $? ]; then
if [ $? == 0 ]; then
echo Tests passed.
fi