You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,14 +51,6 @@ Local mode is the default mode, and hence the user need not specify any special
51
51
```
52
52
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.
53
53
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
-
62
54
### Remote mode testing
63
55
64
56
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 -
87
79
```
88
80
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.
89
81
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.
0 commit comments