-
Notifications
You must be signed in to change notification settings - Fork 238
Avm sqfs unpacker #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #39 +/- ##
=========================================
Coverage ? 90.05%
=========================================
Files ? 248
Lines ? 11645
Branches ? 0
=========================================
Hits ? 10487
Misses ? 1158
Partials ? 0
Continue to review full report at Codecov.
|
| 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)) |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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...
No description provided.