Commit 091f76c7 authored by Albert Astals Cid's avatar Albert Astals Cid Committed by Elvis Angelaccio
Browse files

addtoarchivetest: Pass on systems that don't use en_US

We need to force en_US otherwise we get errors like
   Actual   (addToArchiveJob->fileName().section(QLatin1Char('/'), -1)): "Arxiu.tar.gz"
   Expected (expectedArchiveName)                                      : "Archive.tar.gz"
parent 014e60a7
Pipeline #260067 passed with stage
in 2 minutes and 53 seconds
......@@ -15,6 +15,13 @@
using namespace Kerfuffle;
void initLocale()
{
qputenv("LANG", "en_US");
}
Q_CONSTRUCTOR_FUNCTION(initLocale)
class AddToArchiveTest : public QObject
{
Q_OBJECT
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment