diff options
author | Florian Dold <florian@dold.me> | 2021-01-15 19:19:38 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-01-15 19:19:38 +0100 |
commit | 94431fc6d2ad0f003dd12c100b1c7a53980f72f3 (patch) | |
tree | bf89ff93ab413d4522caabdd41bfc31359a47435 /packages | |
parent | e273724b1c7eb88bcf332d07eff9ef1d21a1622b (diff) |
work around path limits
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/harness.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/harness.ts b/packages/taler-wallet-cli/src/integrationtests/harness.ts index 101c2cf74..4a856cea4 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", |