Skip to content

Commit 6811198

Browse files
committed
test(su): skip options test on non-Linux
Implementation is Linux specific currently.
1 parent dfa337a commit 6811198

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/t/test_su.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ class TestSu:
66
def test_1(self, completion):
77
assert completion
88

9-
@pytest.mark.complete("su -", require_cmd=True)
9+
@pytest.mark.complete(
10+
"su -", require_cmd=True, skipif="[[ $OSTYPE != *linux* ]]"
11+
)
1012
def test_2(self, completion):
1113
assert completion

0 commit comments

Comments
 (0)