Skip to content

Commit ab23b39

Browse files
committed
Update README
1 parent 7ae2cab commit ab23b39

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,6 @@ Local mode is the default mode, and hence the user need not specify any special
5151
```
5252
Executing the above command will give the information about the inbound injected and outbound sniffed packets which can be studied and checked whether in accordance with the expected behaviour. The TUN virtual network device will be used as a source and sink for packets in this case.
5353

54-
#### Using the script to automate
55-
The script [run-tests.sh](https://github.com/shivrai/TCP-IP-Regression-TestSuite/blob/master/run-tests.sh) can be used to automate the tests. The value of the `packetdrill` variable should be replaced with the location of the **packetdrill** binary on your machine.
56-
The following command should be used for executing all the tests -
57-
```
58-
sudo sh run-tests.sh
59-
```
60-
**Note** `sudo` is required only for running the packetdrill binary.
61-
6254
### Remote mode testing
6355

6456
On the system under test (i.e the “client” machine), a command line option to enable remote mode (acting as a client) and a second option to specify the IP address of the remote server machine to which the client packetdrill instance will connect must be specified.
@@ -87,6 +79,15 @@ For testing using AF_INET6 sockets with IPv6 traffic -
8779
```
8880
Since the IPv6 headers are 20 bytes larger than the IPv4 headers, the MTU has to be set to 1520 to address the extra 20 bytes, rather than the standard size of 1500 bytes.
8981

82+
### Using the script to automate
83+
The script [run-tests.sh](https://github.com/shivrai/TCP-IP-Regression-TestSuite/blob/master/run-tests.sh) can be used to automate the tests. The value of the `$packetdrill` variable should be set to the location of the **packetdrill** binary on your machine before running the script.
84+
The following command should be used for executing all the tests -
85+
```
86+
sudo sh run-tests.sh
87+
```
88+
**Note:** `sudo` is required only for running the packetdrill binary. <br><br>
89+
**Update:** Logging functionality is now added in the automation script. After a single run, all the errors are placed in `error.log` in a clean format for easy debugging.
90+
9091
## Scenarios covered
9192

9293
|**Scenario**|**Number of tests**|**Result**|

0 commit comments

Comments
 (0)