summaryrefslogtreecommitdiff
path: root/TESTING.md
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2022-12-07 16:43:50 +0300
committerPatrick Williams <patrick@stwcx.xyz>2022-12-07 16:43:50 +0300
commitf4f2643ae8aa4a6e8f8db62a7e0377a8f222c3f9 (patch)
tree4aa50c1dfe42dc4f1ec58dcc176f95f5d057855a /TESTING.md
parentdfa3fdc3dc1045babc67ecd7974c4d997006d9c4 (diff)
downloadbmcweb-f4f2643ae8aa4a6e8f8db62a7e0377a8f222c3f9.tar.xz
markdownlint: fix all warnings
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I1402cbd84c916792ca2fc0ad0f34db661cbdfa72
Diffstat (limited to 'TESTING.md')
-rw-r--r--TESTING.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/TESTING.md b/TESTING.md
index f335392dde..e1112e7fd6 100644
--- a/TESTING.md
+++ b/TESTING.md
@@ -19,7 +19,7 @@ are the steps for using the SDK and QEMU.
directions in the gerrit setup document.
- Clone bmcweb from gerrit
- ```
+ ```sh
git clone ssh://openbmc.gerrit/openbmc/bmcweb/
```
@@ -28,7 +28,7 @@ are the steps for using the SDK and QEMU.
- Reduce binary size by stripping it when ready for testing
- ```
+ ```sh
arm-openbmc-linux-gnueabi-strip bmcweb
```
@@ -38,7 +38,7 @@ are the steps for using the SDK and QEMU.
- Copy your bmcweb you want to test to /tmp/ in QEMU
- ```
+ ```sh
scp -P 2222 bmcweb root@127.0.0.1:/tmp/
```
@@ -48,7 +48,7 @@ are the steps for using the SDK and QEMU.
- Stop bmcweb service within your QEMU session
- ```
+ ```sh
systemctl stop bmcweb
```
@@ -61,7 +61,7 @@ are the steps for using the SDK and QEMU.
- If running within a system that has read-only /usr/ filesystem, issue the
following commands one time per QEMU boot to make the filesystem writeable
- ```
+ ```sh
mkdir -p /var/persist/usr
mkdir -p /var/persist/work/usr
mount -t overlay -o lowerdir=/usr,upperdir=/var/persist/usr,workdir=/var/persist/work/usr overlay /usr
@@ -69,20 +69,20 @@ are the steps for using the SDK and QEMU.
- Remove the existing bmcweb from the filesystem in QEMU
- ```
+ ```sh
rm /usr/bin/bmcweb
```
- Link to your new bmcweb in /tmp/
- ```
+ ```sh
ln -sf /tmp/bmcweb /usr/bin/bmcweb
```
- Test your changes. bmcweb will be started automatically upon your first REST
or Redfish command
- ```
+ ```sh
curl -c cjar -b cjar -k -X POST https://127.0.0.1:2443/login -d "{\"data\": [ \"root\", \"0penBmc\" ] }"
curl -c cjar -b cjar -k -X GET https://127.0.0.1:2443/xyz/openbmc_project/state/bmc0
```