chiark / gitweb /
LANG, LC_*: Consistently set required LC_* env vars
[dgit.git] / tests / tests / drs-push-rejects
index 36d4dab94602cbc87ae0c4d12c040b50635e99be..df90d22c2109403ec1a257869f8ad9f92c84c8e3 100755 (executable)
@@ -86,7 +86,7 @@ for h in object type tag; do
     cat badtag.asc >>badtag
 
     set +e
-    LC_ALL=C git hash-object -w -t tag badtag >badtag.hash 2>badtag.err
+    LC_MESSAGES=C git hash-object -w -t tag badtag >badtag.hash 2>badtag.err
     rc=$?
     set -e
 
@@ -124,8 +124,13 @@ mustfail 'pushing unexpected ref' $push_spec HEAD:refs/wombat
 mustfail 'pushing multiple heads' $push_spec HEAD:refs/dgit/wombat
 mustfail 'pushing multiple tags' $push_spec HEAD:refs/tags/debian/wombat
 
+prep unstable sid
+mktag
+echo woody >$tmp/suites
+mustfail 'unknown suite' $push_spec
+cp $root/tests/suites $tmp/.
+
 # fixme:
-#    reject "unknown suite";
 #    or reject "command string not understood";
 #    reject "unknown method" unless $mainfunc;