From f4f2643ae8aa4a6e8f8db62a7e0377a8f222c3f9 Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Wed, 7 Dec 2022 07:43:50 -0600 Subject: markdownlint: fix all warnings Signed-off-by: Patrick Williams Change-Id: I1402cbd84c916792ca2fc0ad0f34db661cbdfa72 --- TESTING.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'TESTING.md') 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 ``` -- cgit v1.2.3