Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update t/80_vppreproc.t typo
Co-authored-by: Wilson Snyder <[email protected]>
  • Loading branch information
piecea and wsnyder authored May 17, 2022
commit fab491ae01f3c7edf35bcaca9273b48e0b05c069
12 changes: 6 additions & 6 deletions t/80_vppreproc.t
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ sub vppreproc_d_o {
my $cmd = "${PERL} ./vppreproc -MMD -o test_dir/$obasename.vpp $defaultcfg";
my $dotd = "test_dir/$obasename.d";

system ("/bin/rm -f $dotd");
if (0 == run_system_no_die ($cmd)) {
system("/bin/rm -f $dotd");
if (0 == run_system_no_die($cmd)) {
pass("run command");
ok(-r $dotd, "vppreproc .d from: $cmd");
ok(files_identical ($dotd, $checkname), "diff");
ok(files_identical($dotd, $checkname), "diff");
} else {
fail ("run command");
fail ("no output file created");
fail ("no output file to compare");
fail("run command");
fail("no output file created");
fail("no output file to compare");
}
}