mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-11 22:24:01 +00:00
shell linting
This commit is contained in:
7
tests-ng/update-ignore-missing.sh
vendored
7
tests-ng/update-ignore-missing.sh
vendored
@@ -44,13 +44,6 @@ echo -e "$(tput setaf 6)==> RUNNING $(basename "${BASH_SOURCE[0]}") <==$(tput sg
|
||||
# this is the test
|
||||
################################################################
|
||||
|
||||
# $1 pattern
|
||||
# $2 path
|
||||
grep_or_fail()
|
||||
{
|
||||
grep "${1}" "${2}" >/dev/null 2>&1 || (echo "pattern not found in ${2}" && exit 1)
|
||||
}
|
||||
|
||||
# dotdrop directory
|
||||
tmps=$(mktemp -d --suffix='-dotdrop-tests-source' || mktemp -d)
|
||||
dt="${tmps}/dotfiles"
|
||||
|
||||
Reference in New Issue
Block a user