summaryrefslogtreecommitdiffstats
path: root/test/t/test_ldd.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_ldd.py')
-rw-r--r--test/t/test_ldd.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/t/test_ldd.py b/test/t/test_ldd.py
new file mode 100644
index 0000000..7f7201b
--- /dev/null
+++ b/test/t/test_ldd.py
@@ -0,0 +1,13 @@
+import pytest
+
+
+class TestLdd:
+ @pytest.mark.complete("ldd ")
+ def test_1(self, completion):
+ assert completion
+
+ @pytest.mark.complete(
+ "ldd -", require_cmd=True, xfail="! ldd --help &>/dev/null"
+ )
+ def test_options(self, completion):
+ assert completion