summaryrefslogtreecommitdiff
path: root/test/buildah-bud/make-new-buildah-diffs
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-04-12 12:29:21 +0200
committerGitHub <noreply@github.com>2021-04-12 12:29:21 +0200
commit0d9b1b832cc668bf69463e4077a1dc3dc3c1e82e (patch)
tree13cbba2caa5dc10fea4f8711a67a772e70b50658 /test/buildah-bud/make-new-buildah-diffs
parent0ee1da50f5e221383c236ccee258cb7592ccabd6 (diff)
parentf56f5851b33474983224d4abfeda18a5c655dd6f (diff)
downloadpodman-0d9b1b832cc668bf69463e4077a1dc3dc3c1e82e.tar.gz
podman-0d9b1b832cc668bf69463e4077a1dc3dc3c1e82e.tar.bz2
podman-0d9b1b832cc668bf69463e4077a1dc3dc3c1e82e.zip
Merge pull request #9977 from edsantiago/bud_simplify
buildah-bud tests: simplify
Diffstat (limited to 'test/buildah-bud/make-new-buildah-diffs')
-rw-r--r--test/buildah-bud/make-new-buildah-diffs6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/buildah-bud/make-new-buildah-diffs b/test/buildah-bud/make-new-buildah-diffs
index 1191f4597..11987e376 100644
--- a/test/buildah-bud/make-new-buildah-diffs
+++ b/test/buildah-bud/make-new-buildah-diffs
@@ -37,11 +37,11 @@ if [[ $n_commits -gt 1 ]]; then
die "Please squash your commits"
fi
-# Scope check: make sure the only files changed are under tests/
-changes=$(git diff --name-status [BASETAG]..HEAD | egrep -v '\stests/')
+# Scope check: make sure the only files changed is helpers.bash
+changes=$(git diff --name-status [BASETAG]..HEAD | egrep -v '\stests/helpers.bash')
if [[ -n "$changes" ]]; then
echo $changes
- die "Found modified files other than under 'tests/'"
+ die "Found modified files other than 'tests/helpers.bash'"
fi
###############################################################################