summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2016-08-09 18:11:22 +0200
committerDidier Raboud <odyx@debian.org>2019-09-02 09:14:43 +0200
commit558076ebf3e0992d9bbcda01e6450449f0e81a0e (patch)
tree4271adc6ad0f4e83ef5f8dac036b6ad2918b4734
parentc02507497ff678eff015430e51d566776db090d3 (diff)
Tests: Force LC_ALL=C environment variable when grepping the output of lpstat
Permits testing in non-"C" environments. Origin: vendor Last-Update: 2016-07-11 Patch-Name: tests-make-lpstat-call-reproducible.patch Gbp-Pq: Name tests-make-lpstat-call-reproducible.patch
-rwxr-xr-xtest/run-stp-tests.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/run-stp-tests.sh b/test/run-stp-tests.sh
index 3f0becde9..baebdeec9 100755
--- a/test/run-stp-tests.sh
+++ b/test/run-stp-tests.sh
@@ -642,6 +642,7 @@ echo "DYLD_LIBRARY_PATH=\"$DYLD_LIBRARY_PATH\"; export DYLD_LIBRARY_PATH" >>$run
echo "LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH\"; export LD_LIBRARY_PATH" >>$runcups
echo "LD_PRELOAD=\"$LD_PRELOAD\"; export LD_PRELOAD" >>$runcups
echo "LOCALEDIR=\"$LOCALEDIR\"; export LOCALEDIR" >>$runcups
+echo "LC_ALL=\"C\"; export LC_ALL" >>$runcups
if test "x$CUPS_DEBUG_LEVEL" != x; then
echo "CUPS_DEBUG_FILTER='$CUPS_DEBUG_FILTER'; export CUPS_DEBUG_FILTER" >>$runcups
echo "CUPS_DEBUG_LEVEL=$CUPS_DEBUG_LEVEL; export CUPS_DEBUG_LEVEL" >>$runcups