这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@weidenba
Copy link
Contributor

No description provided.

@codecov-io
Copy link

codecov-io commented Dec 19, 2017

Codecov Report

❗ No coverage uploaded for pull request base (master@e3511f7). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #39   +/-   ##
=========================================
  Coverage          ?   90.05%           
=========================================
  Files             ?      248           
  Lines             ?    11645           
  Branches          ?        0           
=========================================
  Hits              ?    10487           
  Misses            ?     1158           
  Partials          ?        0
Impacted Files Coverage Δ
...ns/unpacking/squashFS/test/test_plugin_squashfs.py 100% <100%> (ø)
src/plugins/unpacking/squashFS/code/squashFS.py 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e3511f7...0c9d05b. Read the comment docs.

@weidenba weidenba requested review from tbarabosch and removed request for jstucke December 20, 2017 07:58
@weidenba weidenba self-assigned this Dec 20, 2017
return {'output': output}
unpack_result = dict()
for unpacker in squash_unpacker:
output = execute_shell_command('fakeroot {} -d {}/faf_extracted {}'.format(unpacker, tmp_dir, file_path))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

faf is legacy, right? Should be fact.



def _unpack_success(tmp_dir):
return len(get_files_in_dir(tmp_dir)) > 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can it happen that there is one accidental file? Add another more fuzzy test to see if there are folders like /bin or /var...

@weidenba weidenba merged commit 0bc829b into master Dec 20, 2017
@weidenba weidenba deleted the avm_sqfs_unpacker branch December 20, 2017 11:58
weidenba added a commit that referenced this pull request Oct 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants