diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-05-03 00:52:12 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-05-03 00:52:12 -0700 |
commit | 679a902ca33fe2d6d1d27c315766f2b87090dab2 (patch) | |
tree | fad6806cc4bea6e7eca7c1188ffb08f3cf9a2dec /testprogs | |
parent | ba47a8071238209d2d353f01f5fffd1d810dabb9 (diff) | |
download | libpcap-679a902ca33fe2d6d1d27c315766f2b87090dab2.tar.gz |
Update comments to reflect current reality.
Diffstat (limited to 'testprogs')
-rwxr-xr-x | testprogs/visopts.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/testprogs/visopts.py b/testprogs/visopts.py index ab4f396d..d0e46d64 100755 --- a/testprogs/visopts.py +++ b/testprogs/visopts.py @@ -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. |