Skip to content

Commit

Permalink
test 16: create kiwi image with root source
Browse files Browse the repository at this point in the history
  • Loading branch information
r-richardson committed Aug 29, 2022
1 parent 94cc116 commit 7e4c57f
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions suse/TEST-16-DMSQUASH-adapt-for-openQA.patch
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
From 5f65325484871e37548b789dfd7ebda8e6ae63b8 Mon Sep 17 00:00:00 2001
From a474fda0970cee54aef77fe5db53140b68622076 Mon Sep 17 00:00:00 2001
From: Robert Richardson <[email protected]>
Date: Tue, 12 Apr 2022 18:31:59 +0200
Subject: [PATCH] test 16 patch

---
test/TEST-16-DMSQUASH/test.sh | 58 +++++++++++++++++++++++------------
1 file changed, 38 insertions(+), 20 deletions(-)
test/TEST-16-DMSQUASH/test.sh | 57 +++++++++++++++++++++++------------
1 file changed, 37 insertions(+), 20 deletions(-)

diff --git a/test/TEST-16-DMSQUASH/test.sh b/test/TEST-16-DMSQUASH/test.sh
index 2a68f305..4602b6c3 100755
index 2a68f305..f48126a2 100755
--- a/test/TEST-16-DMSQUASH/test.sh
+++ b/test/TEST-16-DMSQUASH/test.sh
@@ -4,33 +4,42 @@ TEST_DESCRIPTION="root filesystem on a LiveCD dmsquash filesystem"
Expand Down Expand Up @@ -93,7 +93,7 @@ index 2a68f305..4602b6c3 100755
inst "$basedir/modules.d/35network-legacy/ifup.sh" "/sbin/ifup"

inst_simple "${basedir}/modules.d/99base/dracut-lib.sh" "/lib/dracut-lib.sh"
@@ -115,8 +124,17 @@ test_setup() {
@@ -115,8 +124,16 @@ test_setup() {
cp -a -- /etc/ld.so.conf* "$initdir"/etc
ldconfig -r "$initdir"
)
Expand All @@ -105,15 +105,14 @@ index 2a68f305..4602b6c3 100755
+
+ tree -L 3 kiwi/build-tests
+
+ kiwi-ng system build \
+ --description kiwi/build-tests/x86/leap/test-image-disk \
+ --set-repo obs://openSUSE:Leap:15.4/standard \
+ kiwi-ng system create \
+ --root $initdir
+ --target-dir /tmp/myimage
+ return 0
}

test_cleanup() {
@@ -124,4 +142,4 @@ test_cleanup() {
@@ -124,4 +141,4 @@ test_cleanup() {
}

# shellcheck disable=SC1090
Expand Down

0 comments on commit 7e4c57f

Please sign in to comment.