diff options
-rwxr-xr-x | 131/regr/testcase | 17 | ||||
-rwxr-xr-x | 133/regr/testcase | 17 | ||||
-rwxr-xr-x | 14/regr/testcase | 17 | ||||
-rwxr-xr-x | 15/regr/testcase | 19 | ||||
-rwxr-xr-x | 226/regr/testcase | 17 | ||||
-rwxr-xr-x | 241/regr/testcase | 17 | ||||
-rwxr-xr-x | 26/regr/testcase | 17 | ||||
-rwxr-xr-x | 27/regr/testcase | 19 | ||||
-rwxr-xr-x | 28/regr/testcase | 17 | ||||
-rwxr-xr-x | 31/regr/testcase | 19 | ||||
-rwxr-xr-x | 313/regr/testcase | 17 | ||||
-rwxr-xr-x | 37/regr/testcase | 19 | ||||
-rwxr-xr-x | 42/regr/testcase | 19 | ||||
-rwxr-xr-x | 5/regr/testcase | 17 | ||||
-rw-r--r-- | regression_testcase_sample | 19 | ||||
-rwxr-xr-x | run.sh | 17 |
16 files changed, 279 insertions, 5 deletions
diff --git a/131/regr/testcase b/131/regr/testcase index 50804db..144fe15 100755 --- a/131/regr/testcase +++ b/131/regr/testcase @@ -1,4 +1,21 @@ #!/bin/bash +# +# Copyright (c) 2006-2009 Gluster, Inc. <http://www.gluster.com> +# This file is part of GlusterFS. +# +# GlusterFS is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterFS is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# <http://www.gnu.org/licenses/>. description="# (131) provide a way to get the file location in clustered storage" comments="#doesn't have a mechanism to get the location of the file" diff --git a/133/regr/testcase b/133/regr/testcase index 43920ec..b391448 100755 --- a/133/regr/testcase +++ b/133/regr/testcase @@ -1,4 +1,21 @@ #!/bin/bash +# +# Copyright (c) 2006-2009 Gluster, Inc. <http://www.gluster.com> +# This file is part of GlusterFS. +# +# GlusterFS is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterFS is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# <http://www.gnu.org/licenses/>. description="# (133) posix_getxattr doesn't handle 'glusterfs.content' key" comments="#Supporting glusterfs.content key" diff --git a/14/regr/testcase b/14/regr/testcase index 2b9903d..b2c4e86 100755 --- a/14/regr/testcase +++ b/14/regr/testcase @@ -1,4 +1,21 @@ #!/bin/bash +# +# Copyright (c) 2006-2009 Gluster, Inc. <http://www.gluster.com> +# This file is part of GlusterFS. +# +# GlusterFS is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterFS is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# <http://www.gnu.org/licenses/>. description="#[ glusterfs 2.0.2 ] - No error logged on stdout/stderr upon missing mount point during client invocation" comments="#error should be displayed on the sreen" diff --git a/15/regr/testcase b/15/regr/testcase index fe37d18..16ce6e5 100755 --- a/15/regr/testcase +++ b/15/regr/testcase @@ -1,4 +1,21 @@ #!/bin/bash +# +# Copyright (c) 2006-2009 Gluster, Inc. <http://www.gluster.com> +# This file is part of GlusterFS. +# +# GlusterFS is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterFS is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# <http://www.gnu.org/licenses/>. description="# [ glusterfs 2.0.2 ] - Unclear log message with missing mount point (during client invocation)" comments="# dangling volume is printed in the log" @@ -17,4 +34,4 @@ else ok $description fi -cleanup_glusterfs
\ No newline at end of file +cleanup_glusterfs diff --git a/226/regr/testcase b/226/regr/testcase index cffc7e9..3b72e94 100755 --- a/226/regr/testcase +++ b/226/regr/testcase @@ -1,4 +1,21 @@ #!/bin/bash +# +# Copyright (c) 2006-2009 Gluster, Inc. <http://www.gluster.com> +# This file is part of GlusterFS. +# +# GlusterFS is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterFS is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# <http://www.gnu.org/licenses/>. description="#mkdir fails" comments="#mkdir after rm of regular file of same name fails" diff --git a/241/regr/testcase b/241/regr/testcase index dde947c..4bbafd6 100755 --- a/241/regr/testcase +++ b/241/regr/testcase @@ -1,4 +1,21 @@ #!/bin/bash +# +# Copyright (c) 2006-2009 Gluster, Inc. <http://www.gluster.com> +# This file is part of GlusterFS. +# +# GlusterFS is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterFS is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# <http://www.gnu.org/licenses/>. description="# (241) GlusterFS not honouring SETGID flag" comments="# setgid problem on glusterfs mount" diff --git a/26/regr/testcase b/26/regr/testcase index f76bc06..e2595a5 100755 --- a/26/regr/testcase +++ b/26/regr/testcase @@ -1,4 +1,21 @@ #!/bin/bash +# +# Copyright (c) 2006-2009 Gluster, Inc. <http://www.gluster.com> +# This file is part of GlusterFS. +# +# GlusterFS is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterFS is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# <http://www.gnu.org/licenses/>. description="# (26) Version mismatch not handled correctly" comments="# Tried connecting 2.0.2 client with different version server" diff --git a/27/regr/testcase b/27/regr/testcase index bcc2ff0..cf5d2ec 100755 --- a/27/regr/testcase +++ b/27/regr/testcase @@ -1,4 +1,21 @@ #!/bin/bash +# +# Copyright (c) 2006-2009 Gluster, Inc. <http://www.gluster.com> +# This file is part of GlusterFS. +# +# GlusterFS is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterFS is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# <http://www.gnu.org/licenses/>. description="# testing/features/trashcan crashes server" comments="#the actual bug.... After deleting a file, if you browse to the trashcan and delete it again, the server crashes." @@ -21,4 +38,4 @@ done [ $var -eq 100 ] && ok $description -cleanup_glusterfs
\ No newline at end of file +cleanup_glusterfs diff --git a/28/regr/testcase b/28/regr/testcase index 8a86c88..8e2b99d 100755 --- a/28/regr/testcase +++ b/28/regr/testcase @@ -1,4 +1,21 @@ #!/bin/bash +# +# Copyright (c) 2006-2009 Gluster, Inc. <http://www.gluster.com> +# This file is part of GlusterFS. +# +# GlusterFS is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterFS is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# <http://www.gnu.org/licenses/>. description="# (28) Deleting a backend export directory in an AFR setup can cause a segfault while trying to self heal" comments="# If the backend export directory is deleted, self heal tries to mkdir and while doing so accesses loc->parent which is NULL and segfaults." diff --git a/31/regr/testcase b/31/regr/testcase index 039a875..84f7d54 100755 --- a/31/regr/testcase +++ b/31/regr/testcase @@ -1,4 +1,21 @@ #!/bin/bash +# +# Copyright (c) 2006-2009 Gluster, Inc. <http://www.gluster.com> +# This file is part of GlusterFS. +# +# GlusterFS is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterFS is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# <http://www.gnu.org/licenses/>. description="# glusterfs server crash on trying to copy a file to glusterfs mount" comments="# cp -fv filename mountpoint" @@ -17,4 +34,4 @@ else comment $comments fi -cleanup_glusterfs
\ No newline at end of file +cleanup_glusterfs diff --git a/313/regr/testcase b/313/regr/testcase index 8564c7e..17378b2 100755 --- a/313/regr/testcase +++ b/313/regr/testcase @@ -1,4 +1,21 @@ #!/bin/bash +# +# Copyright (c) 2006-2009 Gluster, Inc. <http://www.gluster.com> +# This file is part of GlusterFS. +# +# GlusterFS is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterFS is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# <http://www.gnu.org/licenses/>. description="# (313) rename is broken" comments="#when try to rename a file using mv it fails" diff --git a/37/regr/testcase b/37/regr/testcase index 20172e4..bd19896 100755 --- a/37/regr/testcase +++ b/37/regr/testcase @@ -1,4 +1,21 @@ #!/bin/bash +# +# Copyright (c) 2006-2009 Gluster, Inc. <http://www.gluster.com> +# This file is part of GlusterFS. +# +# GlusterFS is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterFS is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# <http://www.gnu.org/licenses/>. description="# Mount command should mimic existing practice" comments="# It is more intuitive for unix sysadmin to have glusterfs <server>:<path> /mnt/point" @@ -17,4 +34,4 @@ else fi rm tmpfile -cleanup_glusterfs
\ No newline at end of file +cleanup_glusterfs diff --git a/42/regr/testcase b/42/regr/testcase index e381b2d..5c13e1c 100755 --- a/42/regr/testcase +++ b/42/regr/testcase @@ -1,4 +1,21 @@ #!/bin/bash +# +# Copyright (c) 2006-2009 Gluster, Inc. <http://www.gluster.com> +# This file is part of GlusterFS. +# +# GlusterFS is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterFS is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# <http://www.gnu.org/licenses/>. bugid=$(pwd | cut -d '/' -f 4) @@ -17,4 +34,4 @@ else ok $description fi -cleanup_glusterfs
\ No newline at end of file +cleanup_glusterfs diff --git a/5/regr/testcase b/5/regr/testcase index 5184183..5c1d803 100755 --- a/5/regr/testcase +++ b/5/regr/testcase @@ -1,4 +1,21 @@ #!/bin/bash +# +# Copyright (c) 2006-2009 Gluster, Inc. <http://www.gluster.com> +# This file is part of GlusterFS. +# +# GlusterFS is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterFS is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# <http://www.gnu.org/licenses/>. description="# (5) mount.glusterfs script does not support TRACE log level" comments="#TRACE log level" diff --git a/regression_testcase_sample b/regression_testcase_sample index 864d8fd..a9a424b 100644 --- a/regression_testcase_sample +++ b/regression_testcase_sample @@ -1,5 +1,24 @@ #!/bin/bash +# +# Copyright (c) 2006-2009 Gluster, Inc. <http://www.gluster.com> +# This file is part of GlusterFS. +# +# GlusterFS is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterFS is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# <http://www.gnu.org/licenses/>. + + source ../../init start_glusterfs @@ -1,4 +1,21 @@ #!/bin/sh +# +# Copyright (c) 2006-2009 Gluster, Inc. <http://www.gluster.com> +# This file is part of GlusterFS. +# +# GlusterFS is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterFS is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# <http://www.gnu.org/licenses/>. GLUSTERFS=$1 OLDDIR=`pwd` |