aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-10-10 02:18:39 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-10-10 02:18:39 +0200
commit88c8b6bde982b31245e6503950b29b330617b387 (patch)
tree3b65efe86646ccd3a00973ad00946c86c70a33b8
parent3cd3dcb5bb3b0481812ddd3ff8dc182bdb20be23 (diff)
downloadblogc-88c8b6bde982b31245e6503950b29b330617b387.tar.gz
blogc-88c8b6bde982b31245e6503950b29b330617b387.tar.bz2
blogc-88c8b6bde982b31245e6503950b29b330617b387.zip
removed uneeded error code. export LC_ALL=C in test script
-rw-r--r--src/common/error.h3
-rwxr-xr-xtests/blogc-git-receiver/check_post_receive.sh2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/common/error.h b/src/common/error.h
index 21b332a..5ac2b15 100644
--- a/src/common/error.h
+++ b/src/common/error.h
@@ -23,9 +23,6 @@ typedef enum {
BLOGC_ERROR_TEMPLATE_PARSER,
BLOGC_ERROR_LOADER,
BLOGC_WARNING_DATETIME_PARSER,
-
- // errors for src/blogc-git-receiver
- BLOGC_GR_ERROR_POST_RECEIVE = 200,
} bc_error_type_t;
typedef struct {
diff --git a/tests/blogc-git-receiver/check_post_receive.sh b/tests/blogc-git-receiver/check_post_receive.sh
index 78b566e..954787b 100755
--- a/tests/blogc-git-receiver/check_post_receive.sh
+++ b/tests/blogc-git-receiver/check_post_receive.sh
@@ -2,6 +2,8 @@
set -xe -o pipefail
+export LC_ALL=C
+
TEMP="$(mktemp -d)"
[[ -n "${TEMP}" ]]