diff --git a/test/test_cslightcrv.py b/test/test_cslightcrv.py index ae459e1..e66bd55 100755 --- a/test/test_cslightcrv.py +++ b/test/test_cslightcrv.py @@ -85,7 +85,7 @@ class Test(gammalib.GPythonTestSuite): # Execute cslightcrv, make sure we catch any exception try: - rc = os.system(cmd+" &>/dev/null") + rc = os.system(cmd+" >/dev/null 2>&1") except: pass @@ -106,7 +106,7 @@ class Test(gammalib.GPythonTestSuite): # Execute cslightcrv, make sure we catch any exception try: - rc = os.system(cmd+" &>/dev/null") + rc = os.system(cmd+" >/dev/null 2>&1") except: pass diff --git a/test/test_ctbin.py b/test/test_ctbin.py index c2ec34f..eab2c70 100755 --- a/test/test_ctbin.py +++ b/test/test_ctbin.py @@ -83,7 +83,7 @@ class Test(gammalib.GPythonTestSuite): # Execute ctbin, make sure we catch any exception try: - rc = os.system(cmd+" >/dev/null") + rc = os.system(cmd+" >/dev/null 2>&1") except: pass @@ -104,7 +104,7 @@ class Test(gammalib.GPythonTestSuite): # Execute ctbin, make sure we catch any exception try: - rc = os.system(cmd+" >/dev/null") + rc = os.system(cmd+" >/dev/null 2>&1") except: pass diff --git a/test/test_ctobssim.py b/test/test_ctobssim.py index fa235a9..4413eee 100755 --- a/test/test_ctobssim.py +++ b/test/test_ctobssim.py @@ -85,7 +85,7 @@ class Test(gammalib.GPythonTestSuite): # Execute ctobssim, make sure we catch any exception try: - rc = os.system(cmd+" >/dev/null") + rc = os.system(cmd+" >/dev/null 2>&1") except: pass @@ -106,7 +106,7 @@ class Test(gammalib.GPythonTestSuite): # Execute ctobssim, make sure we catch any exception try: - rc = os.system(cmd+" >/dev/null") + rc = os.system(cmd+" >/dev/null 2>&1") except: pass