diff --git a/basic/sqlite3-dnf/PURPOSE b/basic/sqlite3-dnf/PURPOSE new file mode 100644 index 0000000..992b470 --- /dev/null +++ b/basic/sqlite3-dnf/PURPOSE @@ -0,0 +1,3 @@ +PURPOSE of /CoreOS/sqlite3/Sanity/basic/sqlite3-dnf +Description: Basic test for sqlite3 and dnf +Author: Zuzana Miklankova diff --git a/basic/sqlite3-dnf/main.fmf b/basic/sqlite3-dnf/main.fmf new file mode 100644 index 0000000..9c9c08f --- /dev/null +++ b/basic/sqlite3-dnf/main.fmf @@ -0,0 +1,15 @@ +summary: Sanity test for sqlite database and dnf +description: '' +contact: Zuzana Miklankova +component: +- sqlite +path: /basic/sqlite3-dnf +framework: beakerlib +recommend: +- sqlite +- /usr/bin/dnf-3 +duration: 5m +enabled: true +tag: +- Tier1 +- sqlite diff --git a/basic/sqlite3-dnf/runtest.sh b/basic/sqlite3-dnf/runtest.sh new file mode 100755 index 0000000..2c78978 --- /dev/null +++ b/basic/sqlite3-dnf/runtest.sh @@ -0,0 +1,42 @@ +#!/bin/bash +# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# runtest.sh of /CoreOS/sqlite3/Sanity/basic/sqlite3-dnf +# Description: Basic test for sqlite3 and dnf +# Author: Zuzana Miklankova +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2023 Red Hat, Inc. All rights reserved. +# +# This copyrighted material is made available to anyone wishing +# to use, modify, copy, or redistribute it subject to the terms +# and conditions of the GNU General Public License version 2. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public +# License along with this program; if not, write to the Free +# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301, USA. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +# Include beakerlib environment +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +rlJournalStart + rlPhaseStartTest + rlRun "/usr/bin/dnf-3 update -y" + rlRun "/usr/bin/dnf-3 search sqlite" + rlRun "/usr/bin/dnf-3 autoremove" + rlRun "/usr/bin/dnf-3 info sqlite" + rlRun "/usr/bin/dnf-3 check" + rlRun "/usr/bin/dnf-3 history" + rlPhaseEnd +rlJournalEnd +rlJournalPrintText diff --git a/basic/sqlite3-dnf5/PURPOSE b/basic/sqlite3-dnf5/PURPOSE new file mode 100644 index 0000000..b3921a3 --- /dev/null +++ b/basic/sqlite3-dnf5/PURPOSE @@ -0,0 +1,3 @@ +PURPOSE of /CoreOS/sqlite3/Sanity/basic/sqlite3-dnf5 +Description: Basic test for sqlite3 and dnf5 +Author: Zuzana Miklankova diff --git a/basic/sqlite3-dnf5/main.fmf b/basic/sqlite3-dnf5/main.fmf new file mode 100644 index 0000000..2944927 --- /dev/null +++ b/basic/sqlite3-dnf5/main.fmf @@ -0,0 +1,15 @@ +summary: Sanity test for sqlite database and dnf5 +description: '' +contact: Zuzana Miklankova +component: +- sqlite +path: /basic/sqlite3-dnf5 +framework: beakerlib +recommend: +- sqlite +- dnf5 +duration: 5m +enabled: true +tag: +- Tier1 +- sqlite diff --git a/basic/sqlite3-dnf5/runtest.sh b/basic/sqlite3-dnf5/runtest.sh new file mode 100755 index 0000000..451b2f5 --- /dev/null +++ b/basic/sqlite3-dnf5/runtest.sh @@ -0,0 +1,42 @@ +#!/bin/bash +# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# runtest.sh of /CoreOS/sqlite3/Sanity/basic/sqlite3-dnf +# Description: Basic test for sqlite3 and dnf5 +# Author: Zuzana Miklankova +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2023 Red Hat, Inc. All rights reserved. +# +# This copyrighted material is made available to anyone wishing +# to use, modify, copy, or redistribute it subject to the terms +# and conditions of the GNU General Public License version 2. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public +# License along with this program; if not, write to the Free +# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301, USA. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +# Include beakerlib environment +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +rlJournalStart + rlPhaseStartTest + rlRun "/usr/bin/dnf5 update -y" + rlRun "/usr/bin/dnf5 search sqlite" + rlRun "/usr/bin/dnf5 autoremove" + rlRun "/usr/bin/dnf5 info sqlite" + rlRun "/usr/bin/dnf5 check" + rlRun "/usr/bin/dnf5 history" + rlPhaseEnd +rlJournalEnd +rlJournalPrintText diff --git a/basic/PURPOSE b/basic/sqlite3-python/PURPOSE similarity index 63% rename from basic/PURPOSE rename to basic/sqlite3-python/PURPOSE index e8394d1..07ee48b 100644 --- a/basic/PURPOSE +++ b/basic/sqlite3-python/PURPOSE @@ -1,3 +1,3 @@ -PURPOSE of /CoreOS/sqlite3/Sanity/basic +PURPOSE of /CoreOS/sqlite3/Sanity/basic/sqlite3-python Description: Basic test for python and sqlite3 DB Author: Branislav Nater diff --git a/basic/main.fmf b/basic/sqlite3-python/main.fmf similarity index 88% rename from basic/main.fmf rename to basic/sqlite3-python/main.fmf index dac28b6..6ad4682 100644 --- a/basic/main.fmf +++ b/basic/sqlite3-python/main.fmf @@ -3,7 +3,7 @@ description: '' contact: Filip Janus component: - sqlite -path: /basic/ +path: /basic/sqlite3-python framework: beakerlib recommend: - python36 diff --git a/basic/runtest.sh b/basic/sqlite3-python/runtest.sh similarity index 100% rename from basic/runtest.sh rename to basic/sqlite3-python/runtest.sh diff --git a/basic/sqlite3-test.py b/basic/sqlite3-python/sqlite3-test.py similarity index 100% rename from basic/sqlite3-test.py rename to basic/sqlite3-python/sqlite3-test.py