From 970d12baa847455ac96d734332b7dad9638c7146 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 23 Oct 2017 22:57:53 +0200 Subject: Add a test for non-existent configuration file --- src/tests/inexistent_conf_file_list.phpt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/tests/inexistent_conf_file_list.phpt (limited to 'src/tests') diff --git a/src/tests/inexistent_conf_file_list.phpt b/src/tests/inexistent_conf_file_list.phpt new file mode 100644 index 0000000..afb77a2 --- /dev/null +++ b/src/tests/inexistent_conf_file_list.phpt @@ -0,0 +1,10 @@ +--TEST-- +Non-existent configuration file in a list +--SKIPIF-- + +--INI-- +sp.configuration_file={PWD}/../../config/default.ini,{PWD}/non_existent_configuration_file +--FILE-- + +--EXPECTF-- +[snuffleupagus][0.0.0.0][config][error] Could not open configuration file%a/non_existent_configuration_file : No such file or directory -- cgit v1.3