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
etersoft
eepm
Commits
4e721e70
Commit
4e721e70
authored
1 year ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: add test_join
parent
03c4eb5e
master
devel
tt1
Tags unavailable
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
test_join.sh
tests/test_join.sh
+20
-0
test_join.txt
tests/test_join.txt
+2
-0
No files found.
tests/test_join.sh
0 → 100755
View file @
4e721e70
#!/bin/sh
__filter_by_installed_packages
()
{
local
i
local
tapt
=
"
$1
"
local
pkglist
pkglist
=
"
$(
mktemp
)
"
||
fatal
remove_on_exit
$pkglist
epm
--short
packages |
sort
>
$pkglist
join
-11
-21
$tapt
$pkglist
# get supported packages list and print lines with it
#for i in $(epm query --short $(cat $tapt | cut -f1 -d" ") 2>/dev/null) ; do
# grep "^$i " $tapt
#done
}
__filter_by_installed_packages test_join.txt
This diff is collapsed.
Click to expand it.
tests/test_join.txt
0 → 100644
View file @
4e721e70
mc mchello
mc1 mchello1
This diff is collapsed.
Click to expand it.
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