Fix rerun/rerunsuccess scripts: use standard shell comparator