aboutsummaryrefslogtreecommitdiffstats
path: root/test/tools/testpatt
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-03-19 18:05:30 +1300
committerAldo Cortesi <aldo@nullcube.com>2015-03-19 18:05:30 +1300
commit1d5fcc6e0eb050b67ff743b3428ed1de3700fbd5 (patch)
tree5afa90168e30cac3b6a52d4a9386718bd4f0d0d7 /test/tools/testpatt
parentb77e511fca5d1de3c744592a347ecce45e9526bb (diff)
downloadmitmproxy-1d5fcc6e0eb050b67ff743b3428ed1de3700fbd5.tar.gz
mitmproxy-1d5fcc6e0eb050b67ff743b3428ed1de3700fbd5.tar.bz2
mitmproxy-1d5fcc6e0eb050b67ff743b3428ed1de3700fbd5.zip
Revamp palette specification
- Split low-color and high-color specifications in palettes. - Split off light, dark, lowlight and lowdark palettes. Lowlight and lowdark will be the low-color base for most subsequent palettes. - Add a small script that makes test pattern requests to pathod.
Diffstat (limited to 'test/tools/testpatt')
-rwxr-xr-xtest/tools/testpatt9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/tools/testpatt b/test/tools/testpatt
new file mode 100755
index 00000000..3b79e3ee
--- /dev/null
+++ b/test/tools/testpatt
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# Generate a test pattern with pathoc
+PATHOD=http://localhost:9999
+pathoc localhost:8080 "get:'$PATHOD/p/200:p0,1'"
+pathoc localhost:8080 "get:'$PATHOD/p/300:p0,1'"
+pathoc localhost:8080 "get:'$PATHOD/p/400:p0,1'"
+pathoc localhost:8080 "get:'$PATHOD/p/500:p0,1'"
+pathoc localhost:8080 "get:'$PATHOD/p/600:p0,1'"