We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22a9278 commit dc93e09Copy full SHA for dc93e09
opengrok-tools/src/test/python/test_command_sequence.py
@@ -24,6 +24,7 @@
24
#
25
26
import os
27
+import sys
28
29
import pytest
30
import tempfile
@@ -130,8 +131,10 @@ def test_cleanup_exception():
130
131
cleanup=cleanup))
132
133
134
+# /bin/cat returns 2 on Solaris
135
@pytest.mark.skipif(not os.path.exists('/usr/bin/touch') or
- not os.path.exists('/bin/cat'),
136
+ not os.path.exists('/bin/cat') or
137
+ not sys.platform != "sunos5",
138
reason="requires Unix")
139
def test_cleanup():
140
with tempfile.TemporaryDirectory() as tmpdir:
0 commit comments