Skip to content

Commit 9f9e7a6

Browse files
committed
huj
1 parent dfcc3c4 commit 9f9e7a6

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -88,22 +88,12 @@ jobs:
8888
if: always()
8989
run: |
9090
mkdir /tmp/logs
91-
cp ./strace* /tmp/logs
91+
cp ./strace* uml-ci/slirp* /tmp/logs
9292
- uses: actions/upload-artifact@v1
9393
if: always()
9494
with:
9595
path: /tmp/logs
9696
name: tests-trace-${{ matrix.cgroups }}-${{ matrix.os }}
97-
- uses: actions/upload-artifact@v1
98-
if: always()
99-
with:
100-
path: /tmp/slirp_in.log
101-
name: slirp_in.log
102-
- uses: actions/upload-artifact@v1
103-
if: always()
104-
with:
105-
path: /tmp/slirp_out.log
106-
name: slirp_out.log
10797

10898
nightly-checks:
10999
runs-on: ubuntu-20.04

uml-ci/uml-setup.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ echo root:root | chpasswd
1414
ifconfig eth0 10.0.2.15 netmask 255.255.255.0
1515
route add default dev eth0
1616
echo nameserver 10.0.2.3 > /etc/resolv.conf
17+
ifconfig -a > /dev/console
18+
route > /dev/console
1719
exit 0
1820
' > /dev/mnt/etc/rc.d/rc.local
1921
chmod +x /dev/mnt/etc/rc.d/rc.local

uml-ci/uml-slirp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
stdbuf -i 0 -o 0 tee /tmp/slirp_in.log | slirp-fullbolt 'host addr 10.0.2.2' 'redir tcp 2224 10.0.2.15:22' | stdbuf -i 0 -o 0 tee /tmp/slirp_out.log
3+
stdbuf -i 0 -o 0 tee slirp_in.log | slirp-fullbolt 'host addr 10.0.2.2' 'redir tcp 2224 10.0.2.15:22' | stdbuf -i 0 -o 0 tee slirp_out.log

0 commit comments

Comments
 (0)