diff options
Diffstat (limited to 'extras/test')
-rwxr-xr-x | extras/test/gluster_commands.sh | 21 | ||||
-rw-r--r-- | extras/test/ld-preload-test/ld-preload-lib.c | 13 | ||||
-rw-r--r-- | extras/test/ld-preload-test/ld-preload-test.c | 13 | ||||
-rwxr-xr-x | extras/test/run.sh | 2 | ||||
-rwxr-xr-x | extras/test/stop_glusterd.sh | 2 |
5 files changed, 25 insertions, 26 deletions
diff --git a/extras/test/gluster_commands.sh b/extras/test/gluster_commands.sh index 1e2c86fda21..cb2a55fd5b5 100755 --- a/extras/test/gluster_commands.sh +++ b/extras/test/gluster_commands.sh @@ -1,6 +1,7 @@ #!/bin/bash -# Copyright (c) 2008-2012 Red Hat, Inc. <http://www.redhat.com> + +# Copyright (c) 2006-2012 Red Hat, Inc. <http://www.redhat.com> # This file is part of GlusterFS. # # This file is licensed to you under your choice of the GNU Lesser @@ -45,13 +46,13 @@ gluster volume start vol gluster volume info sleep 1 mount -t glusterfs `hostname`:vol /mnt/client -sleep 1 +sleep 1 df -h echo "adding-brick......." gluster volume add-brick vol `hostname`:/exports/exp2 gluster volume info -sleep 1 +sleep 1 umount /mnt/client mount -t glusterfs `hostname`:vol /mnt/client df -h @@ -93,7 +94,7 @@ sleep 1 echo "removing brick......." gluster --mode=script volume remove-brick vol `hostname`:/exports/exp2 gluster volume info -sleep 1 +sleep 1 df -h sleep 1 @@ -118,7 +119,7 @@ sleep 1 echo "starting replicate volume......" gluster volume start mirror gluster volume info -sleep 1 +sleep 1 mount -t glusterfs `hostname`:mirror /mnt/client sleep 1 df -h @@ -127,7 +128,7 @@ sleep 1 echo "adding-brick......." gluster volume add-brick mirror `hostname`:/exports/exp3 `hostname`:/exports/exp4 gluster volume info -sleep 1 +sleep 1 df -h sleep 1 @@ -169,14 +170,14 @@ sleep 1 echo "removeing-brick....." gluster --mode=script volume remove-brick mirror `hostname`:/exports/exp3 `hostname`:/exports/exp4 gluster volume info -sleep 1 +sleep 1 df -h sleep 1 echo "stopping replicate volume....." gluster --mode=script volume stop mirror gluster volume info -sleep 1 +sleep 1 umount /mnt/client df -h @@ -197,14 +198,14 @@ gluster volume start str gluster volume info sleep 1 mount -t glusterfs `hostname`:str /mnt/client -sleep 1 +sleep 1 df -h sleep 1 echo "adding brick...." gluster volume add-brick str `hostname`:/exports/exp3 `hostname`:/exports/exp4 gluster volume info -sleep 1 +sleep 1 df -h sleep 1 diff --git a/extras/test/ld-preload-test/ld-preload-lib.c b/extras/test/ld-preload-test/ld-preload-lib.c index dc28253678b..88afd14c3e7 100644 --- a/extras/test/ld-preload-test/ld-preload-lib.c +++ b/extras/test/ld-preload-test/ld-preload-lib.c @@ -1,14 +1,13 @@ /* - Copyright (c) 2008-2012 Red Hat, Inc. <http://www.redhat.com> - This file is part of GlusterFS. + Copyright (c) 2007-2012 Red Hat, Inc. <http://www.redhat.com> + This file is part of GlusterFS. - This file is licensed to you under your choice of the GNU Lesser - General Public License, version 3 or any later version (LGPLv3 or - later), or the GNU General Public License, version 2 (GPLv2), in all - cases as published by the Free Software Foundation. + This file is licensed to you under your choice of the GNU Lesser + General Public License, version 3 or any later version (LGPLv3 or + later), or the GNU General Public License, version 2 (GPLv2), in all + cases as published by the Free Software Foundation. */ - /* LD PRELOAD'able library * A very simple library that intercepts booster supported system calls * and prints a log message to stdout. diff --git a/extras/test/ld-preload-test/ld-preload-test.c b/extras/test/ld-preload-test/ld-preload-test.c index 75f30117c67..78772f59818 100644 --- a/extras/test/ld-preload-test/ld-preload-test.c +++ b/extras/test/ld-preload-test/ld-preload-test.c @@ -1,14 +1,13 @@ /* - Copyright (c) 2008-2012 Red Hat, Inc. <http://www.redhat.com> - This file is part of GlusterFS. + Copyright (c) 2007-2012 Red Hat, Inc. <http://www.redhat.com> + This file is part of GlusterFS. - This file is licensed to you under your choice of the GNU Lesser - General Public License, version 3 or any later version (LGPLv3 or - later), or the GNU General Public License, version 2 (GPLv2), in all - cases as published by the Free Software Foundation. + This file is licensed to you under your choice of the GNU Lesser + General Public License, version 3 or any later version (LGPLv3 or + later), or the GNU General Public License, version 2 (GPLv2), in all + cases as published by the Free Software Foundation. */ - /* * LD PRELOAD Test Tool * diff --git a/extras/test/run.sh b/extras/test/run.sh index 7be50815191..4b3839cf679 100755 --- a/extras/test/run.sh +++ b/extras/test/run.sh @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (c) 2008-2012 Red Hat, Inc. <http://www.redhat.com> +# Copyright (c) 2006-2012 Red Hat, Inc. <http://www.redhat.com> # This file is part of GlusterFS. # # This file is licensed to you under your choice of the GNU Lesser diff --git a/extras/test/stop_glusterd.sh b/extras/test/stop_glusterd.sh index 8b670cdf77d..a2db13f4241 100755 --- a/extras/test/stop_glusterd.sh +++ b/extras/test/stop_glusterd.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright (c) 2008-2012 Red Hat, Inc. <http://www.redhat.com> +# Copyright (c) 2006-2012 Red Hat, Inc. <http://www.redhat.com> # This file is part of GlusterFS. # # This file is licensed to you under your choice of the GNU Lesser |