Israel Alberto RV
|
bf49bf8356
|
Unit test fix (#868)
* Fixed the failed unit testing; Improved the Dockerfile, again.
* Fixed missing new line joiner in the Dockerfile.
* Fixed the default Python version from 2 to 3.
* Moved the installation of the nasm and golang packages to the setup script.
* Fixed the extra quotes which fails the sudo check.
* Added to the Git ignore file the output files assembled and linked in the test binaries.
* Removed the output files from test binaries.
* Added to the Git ignore file the virtual environment directory.
* Added sudo to the remove and link the Python3 binary.
* Added commands related to GO, to check why is failing.
* Fixed the installation of GO, only install if not exists in Ubuntu.
* Fixed the first test built in Assembler. Checks if it is working in GitHub.
* Fixed the problem with all the assembler tests; Extracted the asserts into methods, avoiding duplicates.
* Fixed some test, should be fail the Travis tests.
* Fixed one test for Travis.
* Fixed the asserts, now find all ecpected items into the output.
* Fixed the split message, joined again.
* Fixed the last error test for loads binary.
* Fixed one missing number in the comparison.
* Fixed the first Lint errors.
* Added comment in the Dockerfile.
The commented line about `git submodule`.
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549075767
* Removed NASM and Go from the setup.
Created a new bash script to install them and added to the Dockerfile.
https://github.com/pwndbg/pwndbg/pull/868/files#r549075931
https://github.com/pwndbg/pwndbg/pull/868/files#r549076078
* Added the setup script in the GitHub test workflow.
https://github.com/pwndbg/pwndbg/pull/868/files#r549075931
https://github.com/pwndbg/pwndbg/pull/868/files#r549076078
* Testing the emulate cases.
It should be fail. I commented the emulation for the address 0x401000.
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549111511
* Fixed the different start addresses in the assembler test.
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549111511
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549075485
* Experimenting with the python location.
Commented the remove python binary and added some logs.
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549076170
* Removed the commands about delete Python and link the Python3.
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549076170
|
5 years ago |