summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2023-05-29 22:29:50 -0400
committerAndrew Cady <d@jerkface.net>2023-05-29 22:29:50 -0400
commit1f38c27faac5d5c8969114b7b2aaade52d79914e (patch)
treec8764502dad46c4ab8d82c03399770ad9980632b
parente8bd16be52acdaa0684d430670e3ec063545d29f (diff)
fossil-test@ cleaned up
-rw-r--r--src/fossil-test@.service11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/fossil-test@.service b/src/fossil-test@.service
index 3f14e62..b65aa80 100644
--- a/src/fossil-test@.service
+++ b/src/fossil-test@.service
@@ -3,16 +3,13 @@ Description = Test Endofossil by attempting a clone
3 3
4[Service] 4[Service]
5Type = oneshot 5Type = oneshot
6 6TemporaryFileSystem = /root
7Environment = HOME=/root 7Environment = HOME=/root
8WorkingDirectory = /root 8WorkingDirectory = /root
9TemporaryFileSystem = /root
10
11ExecStart = sh -exc '\ 9ExecStart = sh -exc '\
12mkdir .ssh .ssh/known_hosts.d; \ 10mkdir .ssh .ssh/known_hosts.d; \
13ssh-keygen -t ed25519 -f .ssh/id_ed25519 -N ""; \ 11ssh-keygen -t ed25519 -f .ssh/id_ed25519 -N ""; \
14HOME=. ssh -o BatchMode=yes -o StrictHostKeyChecking=accept-new %i@localhost fossil test-http src/fossil/db; \ 12ssh -o BatchMode=yes -o StrictHostKeyChecking=accept-new %i@localhost :; \
15HOME=. ssh -o BatchMode=yes -o StrictHostKeyChecking=yes %i@localhost fossil test-http src/fossil/db; \ 13ssh -o BatchMode=yes -o StrictHostKeyChecking=yes %i@localhost fossil uptime; \
16HOME=. fossil clone ssh://%i@localhost/src/fossil/db db~$(date -Ins).fossil; \ 14fossil clone ssh://%i@localhost/src/fossil/db db~$(date -Ins).fossil; \
17' 15'
18