summaryrefslogtreecommitdiffstats
path: root/test/t/test_dd.py
blob: e082faa99a4e01920c6438f63e31603305dd8421 (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 == "="