gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] 02/02: work around path limits


From: gnunet
Subject: [taler-wallet-core] 02/02: work around path limits
Date: Fri, 15 Jan 2021 19:20:20 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

commit 94431fc6d2ad0f003dd12c100b1c7a53980f72f3
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri Jan 15 19:19:38 2021 +0100

    work around path limits
---
 packages/taler-wallet-cli/src/integrationtests/harness.ts | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/packages/taler-wallet-cli/src/integrationtests/harness.ts 
b/packages/taler-wallet-cli/src/integrationtests/harness.ts
index 101c2cf7..4a856cea 100644
--- a/packages/taler-wallet-cli/src/integrationtests/harness.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/harness.ts
@@ -401,7 +401,10 @@ export interface BankConfig {
 
 function setPaths(config: Configuration, home: string) {
   config.setString("paths", "taler_home", home);
-  config.setString("paths", "taler_runtime_dir", "$TALER_HOME/taler-runtime/");
+  // We need to make sure that the path of taler_runtime_dir isn't too long,
+  // as it contains unix domain sockets (108 character limit).
+  const runDir = fs.mkdtempSync("/tmp/taler-test-");
+  config.setString("paths", "taler_runtime_dir", runDir);
   config.setString(
     "paths",
     "taler_data_home",

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]