Skip to content

Commit

Permalink
Merge pull request autotest#4153 from qingwangrh/2860_fix_untar_error
Browse files Browse the repository at this point in the history
libblkio_release_test:fix untar error
  • Loading branch information
XueqiangWei authored Oct 16, 2024
2 parents 1ee47cd + 8f24630 commit 690d84a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion qemu/deps/block_device/libblkio_release_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ rpm -ivh ${libblkio_package} || tests_failed "Install source rpm failed"


mkdir source;cd source
tar xvf ~/rpmbuild/SOURCES/libblkio-v[0-9]*.bz2 || tests_failed "Untar source rpm failed"
for p in `ls ~/rpmbuild/SOURCES/libblkio-v[0-9]*.bz2`;do
tar xvf $p || tests_failed "Untar source rpm failed"
done
cd `ls -d libblkio*` || tests_failed "Can not find source folder"


Expand Down

0 comments on commit 690d84a

Please sign in to comment.