com pftt2: check PHP_SDK environment variable: bin/ca t.cmd bin/pssuspend.exe cache/dep/Git/git-windows.exe
cache/dep/MySQL/mysql-installer-community-5.6.10 .1.msi cache/dep/VCRedist/vc10_redist_x64 .exe cache/dep/VCRedist/vc10_vcredist_x86.exe
cache/dep/VCRedist/vc11_redist_x64.exe cache /dep/VCRedist/vc11_redist_x86.exe cache/dep/VCR edist/vc9_vcredist_x86.exe conf/nginx.groovy
src/com/mostc/pftt/scenario/NginxScenario.java
| From: | Matt Ficken | Date: | Thu, 16 May 2013 07:33:43 +0000 |
| Subject: | com pftt2: check PHP_SDK environment variable: bin/ca t.cmd bin/pssuspend.exe cache/dep/Git/git-windows.exe cache/dep/MySQL/mysql-installer-community-5.6.10 .1.msi cache/dep/VCRedist/vc10_redist_x64 .exe cache/dep/VCRedist/vc10_vcredist_x86.exe cache/dep/VCRedist/vc11_redist_x64.exe cache /dep/VCRedist/vc11_redist_x86.exe cache/dep/VCR edist/vc9_vcredist_x86.exe conf/nginx.groovy src/com/mostc/pftt/scenario/NginxScenario.java |
||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-67175@lists.php.net to get a copy of this message | ||
Commit: ea4fe6d07709fa1644d2057144be7607bb576507
Author: Matt Ficken <v-mafick@microsoft.com> Thu, 16 May 2013 00:33:43 -0700
Parents: 96fbda6be1582d04bd446010b0b4a6f422aba082
Branches: master
Link: http://git.php.net/?p=pftt2.git;a=commitdiff;h=ea4fe6d07709fa1644d2057144be7607bb576507
Log:
check PHP_SDK environment variable
Changed paths:
A bin/cat.cmd
A bin/pssuspend.exe
A cache/dep/Git/git-windows.exe
A cache/dep/MySQL/mysql-installer-community-5.6.10.1.msi
A cache/dep/VCRedist/vc10_redist_x64.exe
A cache/dep/VCRedist/vc10_vcredist_x86.exe
A cache/dep/VCRedist/vc11_redist_x64.exe
A cache/dep/VCRedist/vc11_redist_x86.exe
A cache/dep/VCRedist/vc9_vcredist_x86.exe
A conf/nginx.groovy
A src/com/mostc/pftt/scenario/NginxScenario.java
Diff:
diff --git a/bin/cat.cmd b/bin/cat.cmd
new file mode 100644
index 0000000..d861190
--- /dev/null
+++ b/bin/cat.cmd
@@ -0,0 +1,3 @@
+@ECHO OFF
+REM windows doesn't do aliases, so have to make a batch script. see
pftt_shell on
*nix
+TYPE %*
diff --git a/bin/pssuspend.exe b/bin/pssuspend.exe
new file mode 100644
index 0000000..d8978de
Binary files /dev/null and b/bin/pssuspend.exe differ
diff --git a/cache/dep/Git/git-windows.exe b/cache/dep/Git/git-windows.exe
new file mode 100644
index 0000000..4b756c7
Binary files /dev/null and b/cache/dep/Git/git-windows.exe differ
diff --git a/cache/dep/MySQL/mysql-installer-community-5.6.10.1.msi
b/cache/dep/MySQL/mysql-installer-community-5.6.10.1.msi
new file mode 100644
index 0000000..1c85be8
Binary files /dev/null and b/cache/dep/MySQL/mysql-installer-community-5..6.10.1.msi differ
diff --git a/cache/dep/VCRedist/vc10_redist_x64.exe b/cache/dep/VCRedist/vc10_redist_x64.exe
new file mode 100644
index 0000000..834133f
Binary files /dev/null and b/cache/dep/VCRedist/vc10_redist_x64.exe differ
diff --git a/cache/dep/VCRedist/vc10_vcredist_x86.exe b/cache/dep/VCRedist/vc10_vcredist_x86.exe
new file mode 100644
index 0000000..d81f3f5
Binary files /dev/null and b/cache/dep/VCRedist/vc10_vcredist_x86.exe differ
diff --git a/cache/dep/VCRedist/vc11_redist_x64.exe b/cache/dep/VCRedist/vc11_redist_x64.exe
new file mode 100644
index 0000000..e0dc35c
Binary files /dev/null and b/cache/dep/VCRedist/vc11_redist_x64.exe differ
diff --git a/cache/dep/VCRedist/vc11_redist_x86.exe b/cache/dep/VCRedist/vc11_redist_x86.exe
new file mode 100644
index 0000000..0fdfbdc
Binary files /dev/null and b/cache/dep/VCRedist/vc11_redist_x86.exe differ
diff --git a/cache/dep/VCRedist/vc9_vcredist_x86.exe b/cache/dep/VCRedist/vc9_vcredist_x86.exe
new file mode 100644
index 0000000..b8a3da8
Binary files /dev/null and b/cache/dep/VCRedist/vc9_vcredist_x86.exe differ
diff --git a/conf/nginx.groovy b/conf/nginx.groovy
new file mode 100644
index 0000000..2f01d88
--- /dev/null
+++ b/conf/nginx.groovy
@@ -0,0 +1,4 @@
+
+def scenarios() {
+ new NginxScenario()
+}
diff --git a/src/com/mostc/pftt/scenario/NginxScenario.java
b/src/com/mostc/pftt/scenario/NginxScenario.java
new file mode 100644
index 0000000..7ccc2c0
--- /dev/null
+++ b/src/com/mostc/pftt/scenario/NginxScenario.java
@@ -0,0 +1,50 @@
+package com.mostc.pftt.scenario;
+
+import com.mostc.pftt.host.AHost;
+import com.mostc.pftt.model.core.ESAPIType;
+import com.mostc.pftt.model.sapi.WebServerManager;
+
+/** NOT_IMPLEMENTED
+ *
+ * Second most popular web server (after Apache).
+ *
+ * Use FastCGI to run PHP with nginx.
+ *
+ * @see http://nginx.org/en/docs/windows.html
+ *
+ */
+
+public class NginxScenario extends AbstractWebServerScenario {
+
+ public NginxScenario() {
+ this(null);
+ }
+
+ protected NginxScenario(WebServerManager smgr) {
+ super(smgr);
+ // TODO Auto-generated constructor stub
+ }
+
+ @Override
+ public int getTestThreadCount(AHost host) {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ @Override
+ public ESAPIType getSAPIType() {
+ return ESAPIType.FAST_CGI;
+ }
+
+ @Override
+ public String getName() {
+ return "Nginx";
+ }
+
+ @Override
+ public boolean isImplemented() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+}