summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tim@cozy.co>2014-11-29 19:04:52 -0800
committerTyler Fitch <tfitch@getchef.com>2015-02-11 10:43:50 -0800
commitd427ab9d0051deb65225c7b76b3c603d744d7520 (patch)
tree1ffeb9a5b5b032cb2376f296b20ce4065b60d403
parent9305f9869189aa89c0e19c0b589acc95a447f830 (diff)
downloadohai-d427ab9d0051deb65225c7b76b3c603d744d7520.tar.gz
Add php -v output on Ubuntu trusty
-rw-r--r--spec/data/plugins/php.output16
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/data/plugins/php.output b/spec/data/plugins/php.output
index 18ef00dd..149ac6ec 100644
--- a/spec/data/plugins/php.output
+++ b/spec/data/plugins/php.output
@@ -141,3 +141,19 @@ params "-v"
stdout "PHP 5.4.9-4ubuntu2.2 (cli) (built: Jul 15 2013 18:23:35) \nCopyright (c) 1997-2012 The PHP Group\nZend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies\n"
stderr ""
exit_status 0
+
+platform "ubuntu-14.04"
+arch "x64"
+env []
+params "-v"
+stdout ""
+stderr "bash: line 2: php: command not found\n"
+exit_status 127
+
+platform "ubuntu-14.04"
+arch "x64"
+env ["php"]
+params "-v"
+stdout "PHP 5.5.9-1ubuntu4.5 (cli) (built: Oct 29 2014 11:59:10) \nCopyright (c) 1997-2014 The PHP Group\nZend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies\n with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies"
+stderr ""
+exit_status 0