aboutsummaryrefslogtreecommitdiff
path: root/tests/ssh-relay.sh
blob: 053b2f00d05f5c09aeb182e07f1876e62a661b57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
source common.sh

echo foo > $TEST_ROOT/hello.sh

ssh_localhost=ssh://localhost
remote_store=?remote-store=$ssh_localhost

store=$ssh_localhost

store+=$remote_store
store+=$remote_store
store+=$remote_store

out=$(nix store add-path --store "$store" $TEST_ROOT/hello.sh)

[ foo = $(< $out) ]