Skip to content

Commit c75922a

Browse files
committed
test if we have not broken any installed packages
1 parent 0acaffa commit c75922a

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

test-on-device.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash -ex
2+
3+
rsync --help

test.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ docker run -d --privileged -i --name ${device} -p 22:22 ${device} /sbin/init
2222

2323
./integration/wait-ssh.sh docker root syncloud 22
2424

25+
sshpass -p syncloud scp -o StrictHostKeyChecking=no test-on-device.sh root@docker:/test-on-device.sh
26+
DOCKER_RUN="sshpass -p syncloud ssh -o StrictHostKeyChecking=no docker"
27+
28+
${DOCKER_RUN} /test-on-device.sh
29+
30+
#cd integration
31+
#pip install -r requirements.txt
32+
#py.test -sx verify.py --domain=${DOMAIN} --device-host=docker --arch=${ARCH}
33+
2534
docker kill ${device}
2635
docker rm ${device}
2736
docker rmi ${device}

0 commit comments

Comments
 (0)