]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-tests: Indentation fixups
authorMartin Schwenke <martin@meltin.net>
Thu, 3 Aug 2017 11:01:59 +0000 (21:01 +1000)
committerAmitay Isaacs <amitay@samba.org>
Mon, 14 Aug 2017 03:15:25 +0000 (05:15 +0200)
The rest of the code in this file now matches the coding guidelines,
so clean up the rest.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/scripts/common.sh

index 4140da7135084c5990d362dda0a706cabaf906e1..93db417e652ca5ab2578b7539324486f989bc5cf 100644 (file)
@@ -11,7 +11,7 @@ die ()
 # This expands the most probable problem cases like "." and "..".
 TEST_SUBDIR=$(dirname "$0")
 if [ $(dirname "$TEST_SUBDIR") = "." ] ; then
-    TEST_SUBDIR=$(cd "$TEST_SUBDIR" ; pwd)
+       TEST_SUBDIR=$(cd "$TEST_SUBDIR" ; pwd)
 fi
 
 # If we are running from within the source tree then, depending on the
@@ -41,9 +41,9 @@ else
 fi
 
 case "$_test_bin_dir" in
-    /*) : ;;
-    *) _test_bin_dir="${PWD}/${_test_bin_dir}" ;;
+/*) : ;;
+*) _test_bin_dir="${PWD}/${_test_bin_dir}" ;;
 esac
 if [ -d "$_test_bin_dir" ] ; then
-    PATH="${_test_bin_dir}:$PATH"
+       PATH="${_test_bin_dir}:$PATH"
 fi