Spdk/scripts
Seth Howell 5faea08e71 scripts/check_format.sh: fix naming convention check.
I had previously implemented a portion of the naming convention
check that looked for symbols that had been moved by performing
two checks:

git diff commit1 commit2 -- libname | grep for added function
git diff commit2 commit1 --libname | grep for added functions

and then subtracting the values returned by the second check from
the values returned by the first check. That works as long as the two
diffs are reciprocal (i.e. the first diff is a mirror image of the
second). However, this has proven to not be the case.

This change fixes that check by performing the smae diff twice and
grepping for removed functions the same time.

Change-Id: I09c81921d68436baeee706f2d9a6d30db1d23976
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3229
Community-CI: Mellanox Build Bot
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-07-08 07:56:06 +00:00
..
ceph check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
perf scripts/perf: Fix kernel fio filename generator 2020-07-07 07:30:44 +00:00
pkgdep scripts/pkgdep: Add uring install function 2020-07-03 07:31:08 +00:00
rpc sock/rpc: Add sock_impl_get/set_options RPC methods 2020-07-07 07:32:32 +00:00
spdkcli rpc: Deprecate max_qpairs_per_ctrlr parameter 2020-06-04 07:20:45 +00:00
vagrant script/vagrant: Change plugins_sync_backend to nfs for clearlinux 2020-07-08 07:55:47 +00:00
check_format.sh scripts/check_format.sh: fix naming convention check. 2020-07-08 07:56:06 +00:00
common.sh scripts/common: Cache vendor|device ids for reverse lookup 2020-05-12 08:12:09 +00:00
config_converter.py global: rename copy to accel 2020-02-18 08:05:34 +00:00
detect_cc.sh check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
dpdk_mem_info.py scripts: add a parser for the dpdk memory stats. 2020-01-24 05:46:43 +00:00
eofnl scripts/check_format: check trailing whitespace 2017-10-24 17:35:23 -04:00
fio.py scripts/fio.py: add argparse for command line parameters 2019-06-03 04:34:10 +00:00
gdb_macros.py scripts: Use range instead of xrange 2019-02-13 22:54:15 +00:00
gen_ftl.sh check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
gen_nvme.sh gen_nvme: Be FreeBSD friendly 2020-05-12 08:12:09 +00:00
genconfig.py genconfig.py: allow numbers in config option names 2020-02-20 14:40:19 +00:00
histogram.py histograms: add script for parsing histogram data 2019-01-24 14:14:32 +00:00
iostat.py script: add iostat.py to check bdev iostat 2020-01-22 13:51:41 +00:00
pkgdep.sh scripts/pkgdep: Add uring install function 2020-07-03 07:31:08 +00:00
posix.txt build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
prep_benchmarks.sh check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
qat_setup.sh check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
rpc_http_proxy.py scripts: Add SSL certificate option in rpc_http_proxy 2020-05-05 08:04:00 +00:00
rpc.py sock/rpc: Add sock_impl_get/set_options RPC methods 2020-07-07 07:32:32 +00:00
rxe_cfg_small.sh rxe_cfg: Fix reporting for net devices with >10G speed 2020-06-08 09:34:18 +00:00
setup.sh scripts/setup.sh: add a newline before VMD status section 2020-06-05 09:02:20 +00:00
spdkcli.py scripts/spdkcli: Stay on command input. 2020-07-08 07:55:15 +00:00