If I run:


megatest -remove-keep 1 -target %/% -runname % -testpatt init,exec -status FAIL -actions print,remove-runs -age 1h -precmd echo


I get:


1227/all:

megatest -remove-runs -target 1227/all -runname 22025.0621 -testpatt %

Skipping handling of as it is younger than 1h

Skipping handling of as it is younger than 1h


Unless the remove-keep is only matching targets where init/exec have status=FAIL this seems like a bug.