summaryrefslogtreecommitdiff
path: root/test/t/test_dd.py
blob: be1829d33f5ebfe1a0022727aa85caf994a16d7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import pytest


class TestDd:
    @pytest.mark.complete(
        "dd --",
        xfail=(
            "! dd --help &>/dev/null || "
            "! dd --help 2>&1 | command grep -qF -- --help"
        ),
    )
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("dd bs")
    def test_2(self, completion):
        assert completion == "bs="