1# vi: set ft=conf23[windows] skip 'uses a raw server filesystem path as the import remote'45# start soft serve6exec soft serve &7# wait for SSH server to start8ensureserverrunning SSH_PORT910# create a private repo and a second user11soft repo create secret -p12soft user create user1 --key "$USER1_AUTHORIZED_KEY"1314# seed the private repo with content15git clone ssh://localhost:$SSH_PORT/secret secret16mkfile ./secret/SECRET.txt 'top secret'17git -C secret add -A18git -C secret commit -m 'first'19git -C secret push origin HEAD2021# user1 cannot read the private repo directly22! usoft repo info secret23stderr 'repository not found'2425# user1 also must not be able to import the server-local repo path26! usoft repo import stolen "$DATA_PATH/repos/secret.git" --lfs-endpoint http://example.com27stderr 'remote must be a network URL'2829# the failed import must not create a readable repo30! usoft repo info stolen31stderr 'repository not found'3233[windows] stopserver34[windows] ! stderr .