mirror of
https://github.com/QuasarApp/ELFIO.git
synced 2025-05-08 17:29:33 +00:00
- Prevent binary file change in repository, restore test file after each run
This commit is contained in:
parent
00e37476c0
commit
bf2800a64a
@ -354,4 +354,7 @@ BOOST_AUTO_TEST_CASE( elfio_copy )
|
|||||||
section* new_sec = e.sections.add( "new" );
|
section* new_sec = e.sections.add( "new" );
|
||||||
e.save( "../elf_examples/write_exe_i386_32" );
|
e.save( "../elf_examples/write_exe_i386_32" );
|
||||||
BOOST_CHECK_EQUAL( num + 1, e.sections.size() );
|
BOOST_CHECK_EQUAL( num + 1, e.sections.size() );
|
||||||
|
|
||||||
|
// Just return back the overwritten file
|
||||||
|
write_exe_i386( false, false, 0 );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user