Skip to content

Commit 5da9295

Browse files
committed
Add a test for rpm
The test file is taken from: ```bash ❯ wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/b/bdsync-0.11.2-1.el7.x86_64.rpm ```
1 parent e564bfa commit 5da9295

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1818
python2.7 \
1919
python3-pip \
2020
python3.8 \
21+
rpm2cpio \
2122
unrar \
2223
unzip \
2324
wget \

tests/test.rpm

38.8 KB
Binary file not shown.

tests/tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,3 +908,10 @@
908908
zip
909909
zst
910910
zstd
911+
912+
- name: rpm
913+
filenames: test.rpm
914+
baseline: |
915+
mkdir test
916+
cd test
917+
rpm2cpio ../$1 | cpio -i --make-directories --quiet --no-absolute-filenames

0 commit comments

Comments
 (0)