test/recipes/81-test_cmp_cli.t: use app() rather than cmd()
Fixes
@@ -28,7 +28,7 @@ plan skip_all => "These tests are not supported in a fuzz build"
plan skip_all => "These tests are not supported in a no-cmp build"
if disabled("cmp");
-my $app = bldtop_dir("apps/openssl cmp");
+my @app = qw(openssl cmp);
my @cmp_basic_tests = (
[ "show help", [ "-help" ], 1 ],
@@ -53,7 +53,7 @@ foreach (@cmp_basic_tests) {
my $title = $$_[0];
my $params = $$_[1];
my $expected = $$_[2];
- ok($expected == run(cmd([$app, "-config", '', @$params])),
+ ok($expected == run(app([@app, "-config", '', @$params])),
$title);
}
@@ -66,7 +66,7 @@ foreach (@cmp_server_tests) {
my $rsp_cert = srctop_file('test', 'certs', 'ee-cert-1024.pem');
my $outfile = result_file("test.certout.pem");
ok($expected ==
- run(cmd([$app, "-config", '', @$extra_args,
+ run(app([@app, "-config", '', @$extra_args,
"-use_mock_srv", "-srv_ref", "mock server",
"-srv_secret", $secret,
"-rsp_cert", $rsp_cert,
