chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mirroring: Remove pointless empty .log files
[dgit.git]
/
tests
/
lib
diff --git
a/tests/lib
b/tests/lib
index bd74ba8efa25d1561242eb2d25338a7ebd63f0f7..1179fb093f8ed48535c60a5eaaf52fc7ae9de481 100644
(file)
--- a/
tests/lib
+++ b/
tests/lib
@@
-301,6
+301,15
@@
t-diff-nogit () {
diff --exclude=.git --exclude=.pc -ruN $*
}
diff --exclude=.git --exclude=.pc -ruN $*
}
+t-files-notexist () {
+ local f
+ for f in "$@"; do
+ if [ -e $f ]; then
+ fail "$f exists!"
+ fi
+ done
+}
+
t-cloned-fetched-good () {
t-diff-nogit ../extract/$p-${v%-*} .
t-clean-on-branch dgit/sid
t-cloned-fetched-good () {
t-diff-nogit ../extract/$p-${v%-*} .
t-clean-on-branch dgit/sid
@@
-427,6
+436,16
@@
t-pushed-good () {
git verify-tag `t-v-tag`
}
git verify-tag `t-v-tag`
}
+t-commit-build-push-expect-log () {
+ local msg=$1
+ local mpat=$2
+ t-commit "$msg"
+ t-dgit build
+ LC_MESSAGES=C \
+ t-dgit push --new 2>&1 |tee $tmp/push.log
+ t-grep-mpat "$mpat" $tmp/push.log
+}
+
t-822-field () {
local file=$1
local field=$2
t-822-field () {
local file=$1
local field=$2