12345678910111213141516171819 |
- #!/bin/bash
- gcc bpi.c -o bpi
- echo testing no command
- ./bpi
- echo testing wrong command
- ./bpi -k
- echo testing command without value
- ./bpi -p
- echo testing missing required command
- ./bpi -v -e 1
- echo testing wrong edge
- ./bpi -p 10 -v -e 3
- echo testing command with value no edge
- ./bpi -p 10
- echo testing command with value and edge
- ./bpi -p 10 -e 1
- echo testing command with value and edge and verbose
- ./bpi -p 10 -e 1 -v
|