From 8acb5a7585a8e155cf0c9d0a60d76e75cdd725f7 Mon Sep 17 00:00:00 2001 From: Prashanth Pai Date: Thu, 10 Apr 2014 16:49:05 +0530 Subject: Fix functional tests * The order of elements in list returned by listdir() can vary and may not be sorted. This caused assertEqual in "test_listdir" to fail. * Also, some systems may have xattrs belonging to selinux. So, a listxattr can list them too. * Allow hostname/ip and volume name to be configured easily by setting it in test.conf. This enables functional tests to use a non-local volume. * Cleanup volume before and after running functional tests. * Added MANIFEST.in and LICENSE file Change-Id: Icfa6eb60e8d8e7ed4d6ab8190a2a2c80688999a3 Signed-off-by: Prashanth Pai --- doc/markdown/dev_guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/markdown/dev_guide.md') diff --git a/doc/markdown/dev_guide.md b/doc/markdown/dev_guide.md index f568986..9d2588d 100644 --- a/doc/markdown/dev_guide.md +++ b/doc/markdown/dev_guide.md @@ -169,7 +169,7 @@ gluster volume start test ### Important Notes: #### Definining a hostname -GlusterFS does not allow for specifiyng `localhost` as a valid hostname when creating a volume, so `gfshost` was used in the functional tests. If you use a different hostname when creating the gluster volume, be sure to update the functional tests. +GlusterFS does not allow for specifiyng `localhost` as a valid hostname when creating a volume. Make sure to set host and volume information in test/test.conf file. The default host is 'gfshost' and default volume name is 'test'. #### Stopping services For the purpose of running this test, stop the `firewalld` service and disable `selinux`. -- cgit