Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
2a2edcbb
Commit
2a2edcbb
authored
3 years ago
by
Olivier Dion
Browse files
Options
Downloads
Patches
Plain Diff
agent/tools: Better make-account-archive
Change-Id: I5924025c4c9e37f7ebe554151b39a8da5eb5154e
parent
fddb2ef8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/agent/tools/make-account-archive
+13
-2
13 additions, 2 deletions
test/agent/tools/make-account-archive
with
13 additions
and
2 deletions
test/agent/tools/make-account-archive
+
13
−
2
View file @
2a2edcbb
#!/bin/sh
tmp
=
$(
mktemp
)
tmp
=
$(
mktemp
--directory
)
export
XDG_CONFIG_HOME
=
$tmp
export
XDG_CACHE_HOME
=
$tmp
...
...
@@ -8,7 +8,18 @@ export XDG_DATA_HOME=$tmp
archive
=
$1
./agent -
<<
EOF
inputs
=
$(
mktemp
--suffix
=
.scm
)
outputs
=
$(
mktemp
)
cat
->
"
$inputs
"
<<
EOF
(agent:ensure-account)
(agent->archive "
${
archive
}
")
EOF
JAMI_LOG_FILE
=
"
$outputs
"
./agent
"
$inputs
"
grep
AGENT
"
$outputs
"
rm
"
$inputs
"
rm
"
$outputs
"
rm
-rf
"
$tmp
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment