forked from M-Labs/nix-scripts
extended-tests: fix ssh path
This commit is contained in:
parent
eee00cea64
commit
87a93802e1
2
main.nix
2
main.nix
@ -96,7 +96,7 @@ in
|
|||||||
LOCKCTL=$(mktemp -d)
|
LOCKCTL=$(mktemp -d)
|
||||||
mkfifo $LOCKCTL/lockctl
|
mkfifo $LOCKCTL/lockctl
|
||||||
|
|
||||||
cat $LOCKCTL/lockctl | ssh rpi-1 'flock /tmp/board_lock-kc705-1 -c "echo Ok; cat"' | (
|
cat $LOCKCTL/lockctl | ${pkgs.openssh}/bin/ssh rpi-1 'flock /tmp/board_lock-kc705-1 -c "echo Ok; cat"' | (
|
||||||
# End remote flock via FIFO
|
# End remote flock via FIFO
|
||||||
atexit_unlock() {
|
atexit_unlock() {
|
||||||
echo > $LOCKCTL/lockctl
|
echo > $LOCKCTL/lockctl
|
||||||
|
Loading…
Reference in New Issue
Block a user