Skip to content

Commit

Permalink
Add comment to clarify how the test can fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddhesh Poyarekar committed Jul 16, 2015
1 parent 9ceb5f6 commit e591758
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>

* tst-nodelete-opened.c (do_test): Add comment to clarify how
the test can fail.

* stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.

[BZ #18676]
Expand Down
2 changes: 2 additions & 0 deletions elf/tst-nodelete-opened.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ do_test (void)
return 1;
}

/* This FOO dereference will crash with a segfault if the DSO was
unloaded. */
printf ("foo == %d\n", *foo);

return 0;
Expand Down

0 comments on commit e591758

Please sign in to comment.