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
Builder Robot
eepm
Commits
a0e36ead
Commit
a0e36ead
authored
Dec 23, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: add read-only commands and organize test sections
parent
57c43487
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
8 deletions
+20
-8
test_all.sh
tests/test_all.sh
+20
-8
No files found.
tests/test_all.sh
View file @
a0e36ead
...
@@ -19,10 +19,30 @@ restore_epm()
...
@@ -19,10 +19,30 @@ restore_epm()
set
-e
-x
set
-e
-x
set
-o
pipefail
set
-o
pipefail
# Section 1: Basic info commands (never break the system)
epm
--version
epm print info
epm print info
epm
--help
|
head
||
[
$?
-eq
141
]
# Section 2: Read-only repository queries
epm repo list
epm search bash |
head
||
[
$?
-eq
141
]
epm info bash
epm show bash
epm policy bash
epm provides /bin/bash
epm requires bash |
head
||
[
$?
-eq
141
]
# Section 3: Queries on installed packages
epmqf bash
epm ql eepm |
head
||
[
$?
-eq
141
]
epm cl erc |
head
||
[
$?
-eq
141
]
epm checkpkg eepm
# Section 4: Update cache (may fail on network issues)
epm update
epm update
# Section 5: Package modifications
epm
--auto
upgrade
$EPMPKGFILE
epm
--auto
upgrade
$EPMPKGFILE
epm
--auto
downgrade
$EPMPKGFILE
epm
--auto
downgrade
$EPMPKGFILE
...
@@ -41,14 +61,6 @@ epm --auto autoorphans
...
@@ -41,14 +61,6 @@ epm --auto autoorphans
epm
--auto
upgrade
epm
--auto
upgrade
epmqf bash
epm ql eepm |
head
||
:
epm cl erc |
head
||
:
epm checkpkg eepm
epm
--auto
upgrade eepm
epm
--auto
upgrade eepm
restore_epm
||
:
restore_epm
||
:
...
...
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