c - Shell script to test command line program -
i have program written in c operates similar below output.
welcome program. hit 1 task 1. hit 2 task 2. hit q quit. what need bash shell script start program, enters 1, 2 , q program can test functionality in 1 command.
i assume similar following
#!/bin/bash ./start kernel 1 2 q
typically use expect testing these types of applications.
Comments
Post a Comment