test_step_ok
else
test_step_output_print ./testout.txt
- test_step_failed "Infos"
+ test_step_failed "Unexpected error message"
fi
fi
}
test_step_ok
else
test_step_output_print ./testout.txt
- test_step_failed "Infos"
+ test_step_failed "Unexpected error message"
fi
fi
}
test_step_ok
else
test_step_output_print ./testout.txt
- test_step_failed "Infos"
+ test_step_failed "Unexpected error message"
fi
fi
}
test_step_ok
else
test_step_output_print ./testout.txt
- test_step_failed "Infos"
+ test_step_failed "Unexpected error message"
fi
fi
}
test_step_ok
else
test_step_output_print ./testout.txt
- test_step_failed "Infos"
+ test_step_failed "Unexpected error message"
fi
fi
}
test_step_ok
else
test_step_output_print ./testout.txt
- test_step_failed "Infos"
+ test_step_failed "Unexpected error message"
fi
fi
}
test_step_add "Exit status for none existing files must be 2" clopts_step_nonexisting_file
}
-clopts_suite_tshark_capture_options() {
- test_step_add "Invalid capture filter -f" clopts_step_tshark_invalid_capfilter
- test_step_add "Invalid capture interface -i" clopts_step_tshark_invalid_interfaces
- test_step_add "Invalid capture interface index 0" clopts_step_tshark_invalid_interfaces_index
+clopts_suite_dumpcap_capture_options() {
+ test_step_add "Invalid dumpcap capture filter -f" clopts_step_dumpcap_invalid_capfilter
+ test_step_add "Invalid dumpcap capture interface -i" clopts_step_dumpcap_invalid_interfaces
+ test_step_add "Invalid dumpcap capture interface index 0" clopts_step_dumpcap_invalid_interfaces_index
}
-clopts_suite_dumpcap_capture_options() {
- test_step_add "Invalid capture filter -f" clopts_step_dumpcap_invalid_capfilter
- test_step_add "Invalid capture interface -i" clopts_step_dumpcap_invalid_interfaces
- test_step_add "Invalid capture interface index 0" clopts_step_dumpcap_invalid_interfaces_index
+clopts_suite_tshark_capture_options() {
+ test_step_add "Invalid TShark capture filter -f" clopts_step_tshark_invalid_capfilter
+ test_step_add "Invalid TShark capture interface -i" clopts_step_tshark_invalid_interfaces
+ test_step_add "Invalid TShark capture interface index 0" clopts_step_tshark_invalid_interfaces_index
}
clopts_post_step() {