test: Vorlage der Einheit umbenannt (überschrieb sich selbst), prepare wiederholbar (#1198)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-27 09:53:51 +01:00
parent 9b7d476c2b
commit f3f82c9e93
3 changed files with 4 additions and 3 deletions

View File

@ -9,6 +9,6 @@ BIN="$HIER/../../target/x86_64-unknown-linux-musl/release/nexus"
# Ein noch laufendes Testbinary blockiert scp: vorher beenden.
ssh "$HOST" 'bash /tmp/nexus-test-0126/remote.sh stop >/dev/null 2>&1 || true; mkdir -p /tmp/nexus-test-0126/bin'
scp -q "$BIN" "$HOST:/tmp/nexus-test-0126/bin/nexus"
scp -q "$HIER/remote.sh" "$HIER/fake_studio.py" "$HIER/nexus-test-studio.service" "$HIER/config.toml.in" "$HOST:/tmp/nexus-test-0126/"
scp -q "$HIER/remote.sh" "$HIER/fake_studio.py" "$HIER/nexus-test-studio.service.in" "$HIER/config.toml.in" "$HOST:/tmp/nexus-test-0126/"
ssh "$HOST" 'chmod +x /tmp/nexus-test-0126/bin/nexus /tmp/nexus-test-0126/remote.sh /tmp/nexus-test-0126/fake_studio.py; /tmp/nexus-test-0126/bin/nexus version; bash /tmp/nexus-test-0126/remote.sh prepare'
echo "Fertig. Starten: ssh $HOST 'bash /tmp/nexus-test-0126/remote.sh start'"