diff options
author | Andreas Schneider <asn@samba.org> | 2022-02-19 16:06:32 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2022-02-22 16:20:58 +0000 |
commit | 3990c33efec319a1262688b7ef069f4ce6a01949 (patch) | |
tree | ceda47b41b750484e26d7b5a056d83f4b90d4f8b /examples/ad-bench/ad-bench.sh | |
parent | 1b8b6ac801e94c3f2fb026e6dfe1275ae9caef47 (diff) | |
download | samba-3990c33efec319a1262688b7ef069f4ce6a01949.tar.gz |
examples: Reformat shell scripts
shfmt -f examples/ | xargs shfmt -w -p -i 0 -fn
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Feb 22 16:20:58 UTC 2022 on sn-devel-184
Diffstat (limited to 'examples/ad-bench/ad-bench.sh')
-rwxr-xr-x | examples/ad-bench/ad-bench.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/ad-bench/ad-bench.sh b/examples/ad-bench/ad-bench.sh index 84bb770e8c8..c4c2a4a1e7a 100755 --- a/examples/ad-bench/ad-bench.sh +++ b/examples/ad-bench/ad-bench.sh @@ -18,7 +18,7 @@ # You should have received a copy of the GNU General Public License # along with AD-Bench. If not, see <http://www.gnu.org/licenses/>. -source `dirname $0`/utils.sh +source $(dirname $0)/utils.sh if [ ! -f $RUNS ]; then echo "Error: please fill in $RUNS" @@ -27,12 +27,12 @@ if [ ! -f $RUNS ]; then exit 1 fi -for run in `cat $RUNS`; do +for run in $(cat $RUNS); do echo "START RUN" - bash `dirname $0`/time_kinit.sh `echo $run|cut -d ":" -f 1` - bash `dirname $0`/time_join.sh `echo $run|cut -d ":" -f 1` `echo $run|cut -d ":" -f 2` - bash `dirname $0`/time_user.sh `echo $run|cut -d ":" -f 1` `echo $run|cut -d ":" -f 2` - bash `dirname $0`/time_group.sh `echo $run|cut -d ":" -f 1` `echo $run|cut -d ":" -f 2` - bash `dirname $0`/time_ldap.sh `echo $run|cut -d ":" -f 1` `echo $run|cut -d ":" -f 2` + bash $(dirname $0)/time_kinit.sh $(echo $run | cut -d ":" -f 1) + bash $(dirname $0)/time_join.sh $(echo $run | cut -d ":" -f 1) $(echo $run | cut -d ":" -f 2) + bash $(dirname $0)/time_user.sh $(echo $run | cut -d ":" -f 1) $(echo $run | cut -d ":" -f 2) + bash $(dirname $0)/time_group.sh $(echo $run | cut -d ":" -f 1) $(echo $run | cut -d ":" -f 2) + bash $(dirname $0)/time_ldap.sh $(echo $run | cut -d ":" -f 1) $(echo $run | cut -d ":" -f 2) echo "END RUN" done |