From 1e03673bca50de1f01be23389090c4ccca2586bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Mat=C4=9Bj?= Date: Fri, 4 Oct 2024 07:18:19 +0200 Subject: [PATCH] `history list`: add test with multiple arguments For: https://github.com/rpm-software-management/dnf5/issues/1721 --- dnf-behave-tests/dnf/history-list.feature | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dnf-behave-tests/dnf/history-list.feature b/dnf-behave-tests/dnf/history-list.feature index 2345de82c..be93d211b 100644 --- a/dnf-behave-tests/dnf/history-list.feature +++ b/dnf-behave-tests/dnf/history-list.feature @@ -38,6 +38,16 @@ Scenario: history list 2 | Id | Command | Action | Altered | | 2 | | | 3 | +@dnf5 +Scenario: history list with mulitple args + When I execute dnf with args "history list 1 2 3" + Then the exit code is 0 + And stdout is history list + | Id | Command | Action | Altered | + | 3 | | | 5 | + | 2 | | | 3 | + | 1 | | | 6 | + @dnf5 Scenario: history list last When I execute dnf with args "history list last"