Commit:    77e1af479f53999ce50b7cf0367bdb09444efaca
Author:    Matt Ficken <v-maf...@microsoft.com>         Thu, 16 May 2013 
00:33:43 -0700
Parents:   807b4c3170623c7490e5c389e7e96e98e15f0663
Branches:  master

Link:       
http://git.php.net/?p=pftt2.git;a=commitdiff;h=77e1af479f53999ce50b7cf0367bdb09444efaca

Log:
check PHP_SDK environment variable


Former-commit-id: ea4fe6d07709fa1644d2057144be7607bb576507

Changed paths:
  A  bin/cat.cmd
  A  bin/pssuspend.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/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;
+       }
+
+}

Reply via email to