Commit aaf44d094948122519448c0f33650e06fe558f42
1 parent
d132f7d4
Experimental ctbin unit test.
Showing
1 changed file
with
2 additions
and
1 deletions
test/test_ctbin.py
| @@ -69,8 +69,9 @@ class Test(gammalib.GPythonTestSuite): | @@ -69,8 +69,9 @@ class Test(gammalib.GPythonTestSuite): | ||
| 69 | Test ctbin on the command line. | 69 | Test ctbin on the command line. |
| 70 | """ | 70 | """ |
| 71 | # Set ctbin tool | 71 | # Set ctbin tool |
| 72 | + noout = " >/dev/null" | ||
| 72 | ctbin = "../src/ctbin/ctbin" | 73 | ctbin = "../src/ctbin/ctbin" |
| 73 | - if os.system("type "+ctbin) != 0: | 74 | + if os.system("type "+ctbin+noout) != 0: |
| 74 | ctbin = "ctbin" | 75 | ctbin = "ctbin" |
| 75 | 76 | ||
| 76 | # Setup ctbin command | 77 | # Setup ctbin command |