mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2024-12-27 00:09:26 -05:00
TestBench changed
corrected scripts
This commit is contained in:
parent
6410fca38f
commit
eacd929dae
21
TestBench.md
21
TestBench.md
@ -95,17 +95,26 @@ This step is optional, but very helpful. Put these scripts somewhere in your `${
|
|||||||
|
|
||||||
ssh testbench python -m qubes.tests.run
|
ssh testbench python -m qubes.tests.run
|
||||||
|
|
||||||
`qtb-installrpm`:
|
`qtb-install`:
|
||||||
|
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if [ $# -ne 1 ]; then
|
TMPDIR=/tmp/qtb-rpms
|
||||||
echo "usage: $(basename $0) <rpmfile>"
|
|
||||||
|
if [ $# -eq 0 ]; then
|
||||||
|
echo "usage: $(basename $0) <rpmfile> ..."
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
scp ${1} testbench:/tmp/
|
set -e
|
||||||
ssh testbench sudo rpm -i --replacepkgs --replacefiles /tmp/"$(basename ${1})"
|
|
||||||
|
ssh testbench mkdir -p "${TMPDIR}"
|
||||||
|
scp "${@}" testbench:"${TMPDIR}"
|
||||||
|
|
||||||
|
while [ $# -gt 0 ]; do
|
||||||
|
ssh testbench sudo rpm -i --replacepkgs --replacefiles "${TMPDIR}/$(basename ${1})"
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
|
||||||
`qtb-iterate`:
|
`qtb-iterate`:
|
||||||
|
|
||||||
@ -121,7 +130,7 @@ This step is optional, but very helpful. Put these scripts somewhere in your `${
|
|||||||
#make COMPONENTS=core-admin get-sources
|
#make COMPONENTS=core-admin get-sources
|
||||||
|
|
||||||
make core-admin
|
make core-admin
|
||||||
qtb-install qubes-src/core-admin/rpm/x86_64/qubes-core-dom0-2.1.64-1.fc20.x86_64.rpm
|
qtb-install qubes-src/core-admin/rpm/x86_64/qubes-core-dom0-*.rpm
|
||||||
qtb-runtests
|
qtb-runtests
|
||||||
|
|
||||||
### Hooking git
|
### Hooking git
|
||||||
|
Loading…
Reference in New Issue
Block a user