Skip to content

Commit

Permalink
Merge pull request #5900 from clebergnu/92lts_remove_doublefree
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Richter <[email protected]>
  • Loading branch information
richtja authored Apr 12, 2024
2 parents 67fa9c0 + a51ba13 commit 685975e
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 239 deletions.
1 change: 0 additions & 1 deletion docs/source/guides/user/chapters/operations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ output might look like this::
INSTRUMENTED /usr/share/doc/avocado/tests/abort.py
INSTRUMENTED /usr/share/doc/avocado/tests/datadir.py
INSTRUMENTED /usr/share/doc/avocado/tests/doublefail.py
INSTRUMENTED /usr/share/doc/avocado/tests/doublefree.py
INSTRUMENTED /usr/share/doc/avocado/tests/errortest.py
INSTRUMENTED /usr/share/doc/avocado/tests/failtest.py
INSTRUMENTED /usr/share/doc/avocado/tests/fiotest.py
Expand Down
49 changes: 0 additions & 49 deletions examples/tests/doublefree.py

This file was deleted.

9 changes: 0 additions & 9 deletions examples/tests/doublefree.py.data/doublefree.c

This file was deleted.

40 changes: 0 additions & 40 deletions examples/tests/doublefree_nasty.py

This file was deleted.

20 changes: 0 additions & 20 deletions examples/tests/doublefree_nasty.py.data/doublefree.c

This file was deleted.

1 change: 0 additions & 1 deletion examples/tests/doublefree_nasty.py.data/gdb_pre

This file was deleted.

101 changes: 0 additions & 101 deletions examples/tests/doublefree_nasty.py.data/iterations.yaml

This file was deleted.

1 change: 0 additions & 1 deletion man/avocado.rst
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,6 @@ The output looks like::
INSTRUMENTED /usr/share/doc/avocado/tests/abort.py
INSTRUMENTED /usr/share/doc/avocado/tests/datadir.py
INSTRUMENTED /usr/share/doc/avocado/tests/doublefail.py
INSTRUMENTED /usr/share/doc/avocado/tests/doublefree.py
INSTRUMENTED /usr/share/doc/avocado/tests/errortest.py
INSTRUMENTED /usr/share/doc/avocado/tests/failtest.py
INSTRUMENTED /usr/share/doc/avocado/tests/fiotest.py
Expand Down
16 changes: 0 additions & 16 deletions selftests/functional/test_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,22 +216,6 @@ def missing_binary(binary):

class OutputTest(TestCaseTmpDir):

@unittest.skipIf(missing_binary('cc'),
"C compiler is required by the underlying doublefree.py test")
def test_output_doublefree(self):
cmd_line = ('%s run --job-results-dir %s --disable-sysinfo '
'examples/tests/doublefree.py' % (AVOCADO, self.tmpdir.name))
result = process.run(cmd_line, ignore_status=True)
expected_rc = exit_codes.AVOCADO_ALL_OK
output = result.stdout + result.stderr
self.assertEqual(result.exit_status, expected_rc,
"Avocado did not return rc %d:\n%s" %
(expected_rc, result))
bad_string = b'double free or corruption'
self.assertNotIn(bad_string, output,
"Libc double free can be seen in avocado "
"doublefree output:\n%s" % output)

def test_log_to_debug(self):
test = script.Script(os.path.join(self.tmpdir.name, "output_test.py"),
OUTPUT_TEST_CONTENT)
Expand Down
1 change: 0 additions & 1 deletion spell.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,6 @@ logdirs
workdir
datasize
getoutput
doublefree
synctest
getstatusoutput
rtd
Expand Down

0 comments on commit 685975e

Please sign in to comment.