summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-04-27 14:14:24 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-04-29 14:40:27 +0200
commit1b1f1b6e6c438855f132fdf0e58b9ec1cad0fbec (patch)
tree146c0b5cb1fe516bff80abe4882cf3f7b10193ce
parent6c9e2c8f29b81f63070184817e0b51fcca33ecee (diff)
downloadurpmi-1b1f1b6e6c438855f132fdf0e58b9ec1cad0fbec.tar
urpmi-1b1f1b6e6c438855f132fdf0e58b9ec1cad0fbec.tar.gz
urpmi-1b1f1b6e6c438855f132fdf0e58b9ec1cad0fbec.tar.bz2
urpmi-1b1f1b6e6c438855f132fdf0e58b9ec1cad0fbec.tar.xz
urpmi-1b1f1b6e6c438855f132fdf0e58b9ec1cad0fbec.zip
check for genhdlist2 --help too
-rw-r--r--t/02create_pkgs.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/02create_pkgs.t b/t/02create_pkgs.t
index 4913e61a..63a8fc0f 100644
--- a/t/02create_pkgs.t
+++ b/t/02create_pkgs.t
@@ -25,6 +25,10 @@ mkdir($dir);
my $out = `genhdlist2 $dir 2>&1`;
chomp($out);
is($out, "no *.rpm found in $dir (use --allow-empty-media?)", "genhdlist2 works");
+$out = `genhdlist2 --help 2>&1`;
+chomp($out);
+my ($first) = split(/\n/, $out);
+is($first, "Usage:", "genhdlist2 --help works");
# locally build test rpms