s3:tests: Reformat full_audit_segfault/run.sh
authorAndreas Schneider <asn@samba.org>
Fri, 22 Apr 2022 13:34:08 +0000 (15:34 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 22 Jun 2022 09:12:31 +0000 (09:12 +0000)
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/script/tests/full_audit_segfault/run.sh

index 752b27125c81ffc3f895130fcfc180f7acf2e54f..a2ba43f372ef5222cc9002366a0c26610abdcf71 100755 (executable)
@@ -1,23 +1,25 @@
 #!/bin/sh
 if [ $# -lt 1 ]; then
-cat <<EOF
+       cat <<EOF
 Usage: run.sh VFSTEST
 EOF
-exit 1;
+       exit 1
 fi
 
-TALLOC_FILL_FREE=0; export TALLOC_FILL_FREE
+TALLOC_FILL_FREE=0
+export TALLOC_FILL_FREE
 
 TESTBASE="$(dirname $0)"
-VFSTEST="$VALGRIND $1"; shift 1;
+VFSTEST="$VALGRIND $1"
+shift 1
 ADDARGS="$*"
 
-incdir=`dirname $0`/../../../../testprogs/blackbox
+incdir=$(dirname $0)/../../../../testprogs/blackbox
 . $incdir/subunit.sh
 
 failed=0
 
 testit "vfstest" "$VFSTEST" -f "$TESTBASE/vfstest.cmd" "$ADDARGS" ||
-    failed=$(expr $failed + 1)
+       failed=$(expr $failed + 1)
 
 exit $failed