summaryrefslogtreecommitdiffstats
path: root/test/t/test_gdb.py
blob: 2ad12c48d785916820de6dfc9bf8b4d153f7e21a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import pytest


class TestGdb:
    @pytest.mark.complete("gdb - ")
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("gdb foo ", cwd="gdb")
    def test_2(self, completion):
        assert completion == sorted(
            "core core.12345 "
            "core.weston.1000.deadbeef.5308.1555362132000000".split()
        )