Parcourir la source

Fix behavior of test script, using env variable

 + Uses ability to set parameters via environment variable.
 + Fix error occurring with ./test.sh.
Leo il y a 9 ans
Parent
commit
6ece1db8b1
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      test.sh

+ 1 - 2
test.sh

@@ -1,5 +1,4 @@
 #!/bin/bash
 
 # Some script to test the behavior of the program with custom rc file
-# FIXME Better behavior when launched without arguments
-OC_TMP=/tmp/v033 ./oclaunch.native $* -v 5 -c ./dev.json
+OC_TMP=/tmp/v033 OC_RC="./dev.json" OC_VERB=5 ./oclaunch.native $*