Browse Source

Add test case for the environment

Leo 9 years ago
parent
commit
be6f94941d
1 changed files with 3 additions and 1 deletions
  1. 3 1
      test/env.sh

+ 3 - 1
test/env.sh

@@ -38,8 +38,10 @@
 # are not set
 # are not set
 
 
 # Binary
 # Binary
-binary=../oclaunch.native
+binary=./oclaunch.native
 
 
+# Should run errorless
+env -i $binary licence
 # Should throw one error, about $HOME
 # Should throw one error, about $HOME
 env -i $binary
 env -i $binary