mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
Use the `#!/usr/bin/env bash` shebang which is ansible-test friendly. This means we can remove get_ostree_data.sh from the .sanity* files. This also means we can remove the .sanity* files if we do not need them otherwise. Fix other shell scripts to use the friendly shebang and remove from the .sanity* files. Rename `pth` to `path` in honor of nscott Signed-off-by: Rich Megginson <rmeggins@redhat.com>
16 lines
351 B
Bash
Executable file
16 lines
351 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
if [ "$#" -lt 1 ]
|
|
then
|
|
echo "USAGE: ${0} coverage_data_file..."
|
|
echo "Show Statistics for each coverage data file"
|
|
exit 1
|
|
fi
|
|
|
|
for coverage_file in "${@}"
|
|
do
|
|
echo "coverage statistics for: ${coverage_file}:"
|
|
COVERAGE_FILE="${coverage_file}" coverage report
|
|
echo
|
|
done
|