chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-debrebase: Provide convert-from-unapplied aa alias for -gbp
[dgit.git]
/
tests
/
lib
diff --git
a/tests/lib
b/tests/lib
index eb34c6b5d8c4a3dc4478fe74d78391398ae788d4..fa553af9d5e89af67a971ad23617ff1eedbc376e 100644
(file)
--- a/
tests/lib
+++ b/
tests/lib
@@
-36,6
+36,8
@@
export DGIT_TEST_DEBUG
export GIT_COMMITTER_DATE='1530000000 +0100'
export GIT_AUTHOR_DATE='1530000000 +0100'
export GIT_COMMITTER_DATE='1530000000 +0100'
export GIT_AUTHOR_DATE='1530000000 +0100'
+export LC_CTYPE=C.UTF-8
+
root=`pwd`
troot=$root/tests
testname="${DGIT_TEST_TESTNAME-${0##*/}}"
root=`pwd`
troot=$root/tests
testname="${DGIT_TEST_TESTNAME-${0##*/}}"
@@
-92,7
+94,9
@@
t-expect-fail () {
local mpat="$1"; shift
set +o pipefail
local mpat="$1"; shift
set +o pipefail
- LC_MESSAGES=C "$@" 2>&1 | tee $tmp/t.output
+ LC_MESSAGES=${expect_fail_lcmessages-C} \
+ LANGUAGE=${expect_fail_lcmessages-C} \
+ "$@" 2>&1 | tee $tmp/t.output
local ps="${PIPESTATUS[*]}"
set -o pipefail
local ps="${PIPESTATUS[*]}"
set -o pipefail
@@
-404,6
+408,13
@@
t-git-fsck () {
esac
}
esac
}
+t-check-only-bpd () {
+ if [ "$bpd" = .. ]; then return; fi
+ t-files-notexist \
+ $tmp/*.{deb,changes,dsc,buildinfo} \
+ $tmp/*.{tar,diff}.*
+}
+
t-fscks () {
(
shopt -s nullglob
t-fscks () {
(
shopt -s nullglob
@@
-416,6
+427,7
@@
t-fscks () {
t-ok () {
: '========================================'
t-ok () {
: '========================================'
+ t-check-only-bpd
t-fscks
t-save-artifacts
echo ok.
t-fscks
t-save-artifacts
echo ok.