Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nurlan
eepm
Commits
0f27ec3f
Commit
0f27ec3f
authored
Sep 10, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test_all.sh: improve tests
parent
68ea3a24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
test_all.sh
tests/test_all.sh
+20
-0
No files found.
tests/test_all.sh
View file @
0f27ec3f
...
...
@@ -5,6 +5,12 @@ fatal()
exit
1
}
restore_epm
()
{
# in the far future: epm upgrade /usr/src/RPM/RPMS/noarch/*.rpm
epm
--auto
install
/usr/src/RPM/RPMS/noarch/
*
.rpm
}
set
-e
-x
set
-o
pipefail
...
...
@@ -12,6 +18,10 @@ epm print info
epm update
epm upgrade /usr/src/RPM/RPMS/noarch/
*
.rpm
epm downgrade /usr/src/RPM/RPMS/noarch/
*
.rpm
epm
--auto
remove erc
epm
--auto
install
erc
...
...
@@ -34,6 +44,7 @@ epm cl erc | head
# Sisyphus -> p10
epm
--auto
--force
--force-yes
downgrade-release p10
restore_epm
# p10 -> p9
epm
--auto
--force
--force-yes
downgrade-release
...
...
@@ -41,13 +52,22 @@ restore_epm
# p9 -> p10
epm
--auto
--force
--force-yes
upgrade-release
restore_epm
# try upgrade p10
epm
--auto
--force
--force-yes
upgrade-release
&&
fatal
restore_epm
# p10 -> Sisyphus
epm
--auto
--force
--force-yes
upgrade-release Sisyphus
restore_epm
epm checkpkg eepm
epm upgrade eepm
restore_epm
||
:
epm downgrade eepm
restore_epm
||
:
epm clean
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment