diff options
author | Andreas Schneider <asn@samba.org> | 2022-04-22 15:34:09 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2022-06-08 06:38:30 +0000 |
commit | d87d67a2e071c6f3e8e1fa6bd576b08a321058a1 (patch) | |
tree | 138ddb0eed82de90272bbebb48a990f1de3aafa0 | |
parent | 08b02d4bb839611bee22d625fb50db3f7c1395f4 (diff) | |
download | samba-d87d67a2e071c6f3e8e1fa6bd576b08a321058a1.tar.gz |
s3:tests: Reformat test_net_registry_check.sh
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rwxr-xr-x | source3/script/tests/test_net_registry_check.sh | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/source3/script/tests/test_net_registry_check.sh b/source3/script/tests/test_net_registry_check.sh index 566e63f5d40..3555af05306 100755 --- a/source3/script/tests/test_net_registry_check.sh +++ b/source3/script/tests/test_net_registry_check.sh @@ -21,7 +21,7 @@ NETREG="${NET} registry" REGORIG="$(grep 'state directory = ' $SERVERCONFFILE | sed 's/[^=]*=//')/registry.tdb" REG=$REGORIG.wip -incdir=`dirname $0`/../../../testprogs/blackbox +incdir=$(dirname $0)/../../../testprogs/blackbox . $incdir/subunit.sh failed=0 @@ -118,24 +118,24 @@ test_strangeletters() ) testit "simple" \ - test_simple || \ - failed=`expr $failed + 1` + test_simple || + failed=$(expr $failed + 1) testit "damages_registry" \ - test_damage || \ - failed=`expr $failed + 1` + test_damage || + failed=$(expr $failed + 1) testit "duplicate" \ - test_duplicate || \ - failed=`expr $failed + 1` + test_duplicate || + failed=$(expr $failed + 1) testit "slashes" \ - test_slashes || \ - failed=`expr $failed + 1` + test_slashes || + failed=$(expr $failed + 1) testit "uppercase" \ - test_uppercase || \ - failed=`expr $failed + 1` + test_uppercase || + failed=$(expr $failed + 1) #Can't repair this atm #testit "strangeletters" \ @@ -143,4 +143,3 @@ testit "uppercase" \ # failed=`expr $failed + 1` testok $0 $failed - |