From 5b8d551d142aaddd9a36fd4b3f21496b85f25054 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Thu, 4 May 2023 21:27:19 +0200 Subject: [PATCH] fix test --- tests-ng/update-negative-ignore-all-but.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests-ng/update-negative-ignore-all-but.sh b/tests-ng/update-negative-ignore-all-but.sh index 7c9098a..a785966 100755 --- a/tests-ng/update-negative-ignore-all-but.sh +++ b/tests-ng/update-negative-ignore-all-but.sh @@ -71,7 +71,7 @@ dotfiles: src: a upignore: - "*" - - "!*/c" + - "!*/c/**" - "!*/d/**" profiles: p1: @@ -87,7 +87,6 @@ cd "${ddpath}" | ${bin} update -f -c "${cfg}" --verbose --profile=p1 --key d_abc grep_or_fail a "${basedir}"/dotfiles/a/b/abfile1 grep_or_fail a "${basedir}"/dotfiles/a/b/abfile2 grep_or_fail a "${basedir}"/dotfiles/a/b/abfile3 -cat "${basedir}"/dotfiles/a/c/acfile grep_or_fail b "${basedir}"/dotfiles/a/c/acfile [ ! -s "${basedir}"/dotfiles/a/d/adfile ] && echo "adfile not updated" && exit 1 grep_or_fail b "${basedir}"/dotfiles/a/d/adfile