]> The Tcpdump Group git mirrors - libpcap/commitdiff
Update comments to reflect current reality.
authorGuy Harris <[email protected]>
Thu, 3 May 2018 07:52:12 +0000 (00:52 -0700)
committerGuy Harris <[email protected]>
Thu, 3 May 2018 07:52:12 +0000 (00:52 -0700)
testprogs/visopts.py

index ab4f396df97d0eba7c8ee433a9df1c055fc962d0..d0e46d64c6db907c64effbf8341a0c366d63de7b 100755 (executable)
@@ -6,16 +6,16 @@ each optimize phase.
 
 Usage guide:
 1. Enable optimizier debugging code when configure libpcap,
-   and build libpcap & filtertest
+   and build libpcap & the test programs
        ./configure --enable-optimizer-dbg
        make
-       make filtertest
+       make testprogs
 2. Run filtertest to compile BPF expression, save to output a.txt
-       ./filtertest EN10MB host 192.168.1.1 > a.txt
+       testprogs/filtertest EN10MB host 192.168.1.1 > a.txt
 3. Send a.txt to this program's standard input
-       cat a.txt | tests/visopts.py
+       cat a.txt | testprogs/visopts.py
 4. Step 2&3 can be merged:
-       ./filtertest EN10MB host 192.168.1.1 | tests/visopts.py
+       testprogs/filtertest EN10MB host 192.168.1.1 | testprogs/visopts.py
 5. The standard output is something like this:
        generated files under directory: /tmp/visopts-W9ekBw
          the directory will be removed when this programs finished.