Signed-off-by: Denys Vlasenko dvlasenk@redhat.com --- src/plugins/reporter-upload.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/plugins/reporter-upload.c b/src/plugins/reporter-upload.c index bff8105..a527431 100644 --- a/src/plugins/reporter-upload.c +++ b/src/plugins/reporter-upload.c @@ -49,7 +49,9 @@ static int create_and_upload_archive( /* Create a child gzip which will compress the data */ /* SELinux guys are not happy with /tmp, using /var/run/abrt */ /* Reverted back to /tmp for ABRT2 */ - tempfile = xasprintf("/tmp/abrt-upload-%s-%lu.tar.gz", iso_date_string(NULL), (long)getpid()); + tempfile = concat_path_basename("/tmp", dump_dir_name); + tempfile = append_to_malloced_string(tempfile, ".tar.gz"); + int pipe_from_parent_to_child[2]; xpipe(pipe_from_parent_to_child); child = vfork();
Pushed. Thanks!
I've decided not to enhance Dump dirs storage to accept the same directory more than once. It wouldn't have any added value. In most cases users uploads the same error.
Jakub
On Thursday 11 of April 2013 13:16:20 Denys Vlasenko wrote:
Signed-off-by: Denys Vlasenko dvlasenk@redhat.com
src/plugins/reporter-upload.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/plugins/reporter-upload.c b/src/plugins/reporter-upload.c index bff8105..a527431 100644 --- a/src/plugins/reporter-upload.c +++ b/src/plugins/reporter-upload.c @@ -49,7 +49,9 @@ static int create_and_upload_archive( /* Create a child gzip which will compress the data */ /* SELinux guys are not happy with /tmp, using /var/run/abrt */ /* Reverted back to /tmp for ABRT2 */
- tempfile = xasprintf("/tmp/abrt-upload-%s-%lu.tar.gz",
iso_date_string(NULL), (long)getpid()); + tempfile = concat_path_basename("/tmp", dump_dir_name);
- tempfile = append_to_malloced_string(tempfile, ".tar.gz");
- int pipe_from_parent_to_child[2]; xpipe(pipe_from_parent_to_child); child = vfork();
On 04/11/2013 03:10 PM, Jakub Filak wrote:
Pushed. Thanks!
Thank! I pushed a test for it:
From 66ff6482279e023952feed6750ee4031c3b5c9eb Mon Sep 17 00:00:00 2001
From: Denys Vlasenko dvlasenk@redhat.com Date: Thu, 11 Apr 2013 18:39:39 +0200 Subject: [PATCH] tests/runtests/upload-filename: new test
It tests that created filename is PROBLEM_DIRNAME.tar.gz
Signed-off-by: Denys Vlasenko dvlasenk@redhat.com --- tests/runtests/aux/test_order | 1 + tests/runtests/aux/test_order.rhel6 | 1 + tests/runtests/upload-filename/PURPOSE | 3 + .../runtests/upload-filename/problem_dir/analyzer | 1 + .../upload-filename/problem_dir/architecture | 1 + .../runtests/upload-filename/problem_dir/backtrace | 305 +++++++++++++++++++++ .../upload-filename/problem_dir/backtrace_rating | 1 + tests/runtests/upload-filename/problem_dir/cmdline | 1 + tests/runtests/upload-filename/problem_dir/comment | 1 + .../runtests/upload-filename/problem_dir/component | 1 + .../upload-filename/problem_dir/crash_function | 1 + .../runtests/upload-filename/problem_dir/dso_list | 40 +++ tests/runtests/upload-filename/problem_dir/duphash | 1 + .../upload-filename/problem_dir/executable | 1 + .../runtests/upload-filename/problem_dir/hostname | 1 + tests/runtests/upload-filename/problem_dir/kernel | 1 + tests/runtests/upload-filename/problem_dir/maps | 196 +++++++++++++ .../upload-filename/problem_dir/os_release | 1 + tests/runtests/upload-filename/problem_dir/package | 1 + tests/runtests/upload-filename/problem_dir/reason | 1 + tests/runtests/upload-filename/problem_dir/time | 1 + tests/runtests/upload-filename/problem_dir/uid | 1 + .../runtests/upload-filename/problem_dir/username | 1 + tests/runtests/upload-filename/problem_dir/uuid | 1 + .../upload-filename/problem_dir/var_log_messages | 2 + .../upload-filename/problem_dir/xsession_errors | 0 tests/runtests/upload-filename/runtest.sh | 51 ++++ 27 files changed, 617 insertions(+) create mode 100644 tests/runtests/upload-filename/PURPOSE create mode 100644 tests/runtests/upload-filename/problem_dir/analyzer create mode 100644 tests/runtests/upload-filename/problem_dir/architecture create mode 100644 tests/runtests/upload-filename/problem_dir/backtrace create mode 100644 tests/runtests/upload-filename/problem_dir/backtrace_rating create mode 100644 tests/runtests/upload-filename/problem_dir/cmdline create mode 100644 tests/runtests/upload-filename/problem_dir/comment create mode 100644 tests/runtests/upload-filename/problem_dir/component create mode 100644 tests/runtests/upload-filename/problem_dir/crash_function create mode 100644 tests/runtests/upload-filename/problem_dir/dso_list create mode 100644 tests/runtests/upload-filename/problem_dir/duphash create mode 100644 tests/runtests/upload-filename/problem_dir/executable create mode 100644 tests/runtests/upload-filename/problem_dir/hostname create mode 100644 tests/runtests/upload-filename/problem_dir/kernel create mode 100644 tests/runtests/upload-filename/problem_dir/maps create mode 100644 tests/runtests/upload-filename/problem_dir/os_release create mode 100644 tests/runtests/upload-filename/problem_dir/package create mode 100644 tests/runtests/upload-filename/problem_dir/reason create mode 100644 tests/runtests/upload-filename/problem_dir/time create mode 100644 tests/runtests/upload-filename/problem_dir/uid create mode 100644 tests/runtests/upload-filename/problem_dir/username create mode 100644 tests/runtests/upload-filename/problem_dir/uuid create mode 100644 tests/runtests/upload-filename/problem_dir/var_log_messages create mode 100644 tests/runtests/upload-filename/problem_dir/xsession_errors create mode 100755 tests/runtests/upload-filename/runtest.sh
diff --git a/tests/runtests/aux/test_order b/tests/runtests/aux/test_order index a20c1e0..aede29d 100644 --- a/tests/runtests/aux/test_order +++ b/tests/runtests/aux/test_order @@ -44,6 +44,7 @@ localized-reporting verify-that-report-edits upload-scp upload-ftp +upload-filename upload-handling ureport
diff --git a/tests/runtests/aux/test_order.rhel6 b/tests/runtests/aux/test_order.rhel6 index 19b99d7..953e180 100644 --- a/tests/runtests/aux/test_order.rhel6 +++ b/tests/runtests/aux/test_order.rhel6 @@ -40,6 +40,7 @@ distro_specific/rhel6/localized-reporting distro_specific/rhel6/verify-that-report-edits upload-scp upload-ftp +upload-filename upload-handling #ureport
diff --git a/tests/runtests/upload-filename/PURPOSE b/tests/runtests/upload-filename/PURPOSE new file mode 100644 index 0000000..4cd7802 --- /dev/null +++ b/tests/runtests/upload-filename/PURPOSE @@ -0,0 +1,3 @@ +PURPOSE of upload-filename +Description: Test reporter-upload's filename creation +Author: Denys Vlasenko dvlasenk@redhat.com diff --git a/tests/runtests/upload-filename/problem_dir/analyzer b/tests/runtests/upload-filename/problem_dir/analyzer new file mode 100644 index 0000000..1ab966f --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/analyzer @@ -0,0 +1 @@ +CCpp \ No newline at end of file diff --git a/tests/runtests/upload-filename/problem_dir/architecture b/tests/runtests/upload-filename/problem_dir/architecture new file mode 100644 index 0000000..8790996 --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/architecture @@ -0,0 +1 @@ +x86_64 \ No newline at end of file diff --git a/tests/runtests/upload-filename/problem_dir/backtrace b/tests/runtests/upload-filename/problem_dir/backtrace new file mode 100644 index 0000000..2352266 --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/backtrace @@ -0,0 +1,305 @@ +[New LWP 10303] +warning: File "/usr/lib64/perl5/CORE/libperl.so" has a different build-id, file skipped +Missing separate debuginfo for /usr/lib64/freetype-freeworld/libfreetype.so.6 +Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/32/e3c32575e6fd2a16d5db151377c140c1130f3e +Missing separate debuginfo for +Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/3a/8fe6cb0063d56fc9be76ecd085c05f1b8a76e6 +warning: File "/usr/lib64/perl5/CORE/libperl.so" has a different build-id, file skipped +warning: the debug information found in "/usr/lib/debug//usr/lib64/perl5/CORE/libperl.so.debug" does not match "/usr/lib64/perl5/CORE/libperl.so" (CRC mismatch). + +warning: the debug information found in "/usr/lib/debug/usr/lib64/perl5/CORE/libperl.so.debug" does not match "/usr/lib64/perl5/CORE/libperl.so" (CRC mismatch). + +[Thread debugging using libthread_db enabled] +Core was generated by `urxvtd -q -o -f'. +Program terminated with signal 11, Segmentation fault. +#0 0x0000000000420240 in rxvt_term::selection_delimit_word (this=0x12e7ee0, dirn=DN, mark=<optimized out>, ret=0x12e8154) at screen.C:3047 +3047 stp = ROW(row).t + col; w1 = DELIMIT_TEXT (*stp); + +Thread 1 (Thread 0x7f7badf717e0 (LWP 10303)): +#0 0x0000000000420240 in rxvt_term::selection_delimit_word (this=0x12e7ee0, dirn=DN, mark=<optimized out>, ret=0x12e8154) at screen.C:3047 + tcol = <optimized out> + w2 = <optimized out> + col = <optimized out> + stp = 0x56 + row = 44 + dirnadd = 1 + trow = <optimized out> + w1 = <optimized out> + bound = {row = 44, col = 139} +#1 0x00000000004209ec in rxvt_term::selection_extend_colrow (this=0x12e7ee0, col=<optimized out>, row=<optimized out>, button3=<optimized out>, buttonpress=<optimized out>, clickchange=<optimized out>) at screen.C:3279 + pos = <optimized out> + closeto = rxvt_term::RIGHT +#2 0x000000000040f368 in rxvt_term::button_press (this=0x12e7ee0, ev=...) at command.C:1938 + reportmode = 0 + clickintime = <optimized out> +#3 0x000000000041148b in rxvt_term::x_cb (this=0x12e7ee0, ev=...) at command.C:1365 + dpy = 0x10f1800 + unused_root = 228704954805 + unused_root_y = 17775536 + unused_mask = 0 + unused_child = 30064771104 + unused_root_x = -1 +#4 0x0000000000429c8a in call (a1=..., this=<optimized out>) at ./callback.h:83 +No locals. +#5 rxvt_display::flush_cb (this=0x10f15f0, w=..., revents=<optimized out>) at rxvttoolkit.C:585 + i = 4 + xev = {type = 4, xany = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, window = 27263124}, xkey = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, window = 27263124, root = 199, subwindow = 0, time = 149820128, x = 400, y = 755, x_root = 407, y_root = 786, state = 1, keycode = 1, same_screen = 1}, xbutton = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, window = 27263124, root = 199, subwindow = 0, time = 149820128, x = 400, y = 755, x_root = 407, y_root = 786, state = 1, button = 1, same_screen = 1}, xmotion = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, window = 27263124, root = 199, subwindow = 0, time = 149820128, x = 400, y = 755, x_root = 407, y_root = 786, state = 1, is_hint = 1 '\001', same_screen = 1}, xcrossing = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, window = 27263124, root = 199, subwindow = 0, time = 149820128, x = 400, y = 755, x_root = 407, y_root = 786, mode = 1, detail = 1, same_screen = 1, focus = -1162223360, state = 3132743936}, xfocus = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, window = 27263124, mode = 199, detail = 0}, xexpose = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, window = 27263124, x = 199, y = 0, width = 0, height = 0, count = 149820128}, xgraphicsexpose = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, drawable = 27263124, x = 199, y = 0, width = 0, height = 0, count = 149820128, major_code = 0, minor_code = 400}, xnoexpose = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, drawable = 27263124, major_code = 199, minor_code = 0}, xvisibility = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, window = 27263124, state = 199}, xcreatewindow = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, parent = 27263124, window = 199, x = 0, y = 0, width = 149820128, height = 0, border_width = 400, override_redirect = 755}, xdestroywindow = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, event = 27263124, window = 199}, xunmap = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, event = 27263124, window = 199, from_configure = 0}, xmap = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, event = 27263124, window = 199, override_redirect = 0}, xmaprequest = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, parent = 27263124, window = 199}, xreparent = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, event = 27263124, window = 199, parent = 0, x = 149820128, y = 0, override_redirect = 400}, xconfigure = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, event = 27263124, window = 199, x = 0, y = 0, width = 149820128, height = 0, border_width = 400, above = 3375844295063, override_redirect = 1}, xgravity = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, event = 27263124, window = 199, x = 0, y = 0}, xresizerequest = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, window = 27263124, width = 199, height = 0}, xconfigurerequest = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, parent = 27263124, window = 199, x = 0, y = 0, width = 149820128, height = 0, border_width = 400, above = 3375844295063, detail = 1, value_mask = 13455032751862317057}, xcirculate = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, event = 27263124, window = 199, place = 0}, xcirculaterequest = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, parent = 27263124, window = 199, place = 0}, xproperty = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, window = 27263124, atom = 199, time = 0, state = 149820128}, xselectionclear = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, window = 27263124, selection = 199, time = 0}, xselectionrequest = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, owner = 27263124, requestor = 199, selection = 0, target = 149820128, property = 3242700308880, time = 3375844295063}, xselection = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, requestor = 27263124, selection = 199, target = 0, property = 149820128, time = 3242700308880}, xcolormap = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, window = 27263124, colormap = 199, c_new = 0, state = 0}, xclient = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, window = 27263124, message_type = 199, format = 0, data = {b = "\340\022\356\b\000\000\000\000\220\001\000\000\363\002\000\000\227\001\000", s = {4832, 2286, 0, 0, 400, 0, 755, 0, 407, 0}, l = {149820128, 3242700308880, 3375844295063, 4294967297, -4991711321847234559}}}, xmapping = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, window = 27263124, request = 199, first_keycode = 0, count = 0}, xerror = {type = 4, display = 0x8446, resourceid = 13310917563786461184, serial = 17766400, error_code = 148 '\224', request_code = 0 '\000', minor_code = 160 '\240'}, xkeymap = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, window = 27263124, key_vector = "\307", '\000' <repeats 15 times>"\340, \022\356\b\000\000\000\000\220\001\000\000\363\002\000"}, xgeneric = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, extension = 27263124, evtype = 0}, xcookie = {type = 4, serial = 33862, send_event = 0, display = 0x10f1800, extension = 27263124, evtype = 0, cookie = 199, data = 0x0}, pad = {227633266692, 33862, -5135826509923090432, 17766400, 27263124, 199, 0, 149820128, 3242700308880, 3375844295063, 4294967297, -4991711321847234559, -4991711318714490624, -4991711318714490624, -4991711318714490624, -4919653724659785472, -4919653724659785472, -4919653724659785472, -4919653724659785472, -4847596130605080320, -4775538536550375168, -4703480942495670016, -4631423348440964864, -9170770298910613248}} +#6 0x000000000042cf04 in ev_invoke_pending () at ../libev/ev.c:2117 + p = <optimized out> +#7 0x000000000042e233 in ev_run (flags=0) at ../libev/ev.c:2392 +No locals. +#8 0x000000000040920c in main (argc=<optimized out>, argv=<optimized out>) at rxvtd.C:302 + opt_fork = 1 '\001' + pid = <optimized out> + opt_opendisplay = 1 '\001' + opt_quiet = 1 '\001' + opt_lock = 0 '\000' + sockname = <optimized out> + l = {fd = 7, accept_ev = {<ev::base<ev_io, ev::io>> = {<ev_io> = {active = 1, pending = 0, data = 0x7fff728dca10, cb = 0x409f00 <ev::base<ev_io, ev::io>::method_thunk<unix_listener, &unix_listener::accept_cb>(ev_io*, int)>, next = 0x0, fd = 7, events = 1}, <No data fields>}, <No data fields>}} +warning: File "/usr/lib64/perl5/CORE/libperl.so" has a different build-id, file skipped +From To Syms Read Shared Object Library +0x0000003b7b005d90 0x0000003b7b01f7fc Yes /usr/lib64/libfontconfig.so.1.4.4 +0x0000003b7b4040c0 0x0000003b7b410c3c Yes /usr/lib64/libXft.so.2.2.0 +0x0000003541e01910 0x0000003541e0810c Yes /usr/lib64/libXrender.so.1.3.0 +0x000000353fa1dce0 0x000000353faa97ec Yes /usr/lib64/libX11.so.6.3.0 +0x00000035a4c06290 0x00000035a4c19c9c Yes /usr/lib64/libgdk_pixbuf-2.0.so.0.2300.3 +0x00000035a4804890 0x00000035a481eb8c Yes /usr/lib64/libpng12.so.0.46.0 +0x000000353d603ea0 0x000000353d643e9c Yes /lib64/libm-2.14.so +0x000000353ee09970 0x000000353ee39dcc Yes /lib64/libgobject-2.0.so.0.2800.8 +0x000000353ea01560 0x000000353ea02a2c Yes /lib64/libgthread-2.0.so.0.2800.8 +0x000000353d202160 0x000000353d2053ec Yes /lib64/librt-2.14.so +0x000000353c216cd0 0x000000353c2adbec Yes /lib64/libglib-2.0.so.0.2800.8 +0x0000003b83635050 0x0000003b83738bec Yes (*) /usr/lib64/perl5/CORE/libperl.so +0x000000353e603840 0x000000353e61354c Yes /lib64/libresolv-2.14.so +0x0000003550603ff0 0x00000035506117fc Yes /lib64/libnsl-2.14.so +0x000000353ce00de0 0x000000353ce0191c Yes /lib64/libdl-2.14.so +0x0000003546e00c10 0x0000003546e05afc Yes /lib64/libcrypt-2.14.so +0x000000354e600e10 0x000000354e60168c Yes /lib64/libutil-2.14.so +0x000000353ca05640 0x000000353ca1038c Yes /lib64/libpthread-2.14.so +0x0000003548e5a400 0x0000003548ec308a Yes /usr/lib64/libstdc++.so.6.0.16 +0x000000353c61ece0 0x000000353c74304c Yes /lib64/libc-2.14.so +0x000000353de028a0 0x000000353de120cc Yes /lib64/libgcc_s-4.6.0-20110530.so.1 + No /usr/lib64/freetype-freeworld/libfreetype.so.6 +0x0000003540603b70 0x000000354061d84c Yes /lib64/libexpat.so.1.5.2 +0x000000353fe08660 0x000000353fe13b9c Yes /usr/lib64/libxcb.so.1.1.0 +0x000000353f6294a0 0x000000353f6d2b3c Yes /lib64/libgio-2.0.so.0.2800.8 +0x000000353f200fe0 0x000000353f201f8c Yes /lib64/libgmodule-2.0.so.0.2800.8 +0x000000353da01e70 0x000000353da0e67c Yes /lib64/libz.so.1.2.5 +0x000000353be00b20 0x000000353be18caa Yes /lib64/ld-2.14.so +0x0000003546603170 0x00000035466417bc Yes /lib64/libfreebl3.so +0x0000003540200dd0 0x0000003540201b2c Yes /usr/lib64/libXau.so.6.0.0 +0x000000353e205980 0x000000353e2159dc Yes /lib64/libselinux.so.1 +0x0000003544a028d0 0x0000003544a0749c Yes /usr/lib64/libXcursor.so.1.0.2 +0x00000035422013e0 0x000000354220450c Yes /usr/lib64/libXfixes.so.3.1.0 +0x00007f7ba79495d0 0x00007f7ba794cf9c Yes /usr/lib64/perl5/vendor_perl/auto/List/Util/Util.so +0x00007f7ba759a170 0x00007f7ba75a18ac Yes /lib64/libnss_files-2.14.so +(*): Shared library is missing debugging information. +$1 = 0x0 +$2 = 0x0 +rax 0x1405b18 20994840 +rbx 0x12e7ee0 19824352 +rcx 0x0 0 +rdx 0x56 86 +rsi 0x1 1 +rdi 0x12e7ee0 19824352 +rbp 0x1 0x1 +rsp 0x7fff728dc680 0x7fff728dc680 +r8 0x0 0 +r9 0x1 1 +r10 0x16 22 +r11 0x14053b0 20992944 +r12 0x2b 43 +r13 0x2c 44 +r14 0x8b 139 +r15 0x1 1 +rip 0x420240 0x420240 <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+112> +eflags 0x10256 [ PF AF ZF IF RF ] +cs 0x33 51 +ss 0x2b 43 +ds 0x0 0 +es 0x0 0 +fs 0x0 0 +gs 0x0 0 +Dump of assembler code for function rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*): + 0x00000000004201d0 <+0>: push %r15 + 0x00000000004201d2 <+2>: push %r14 + 0x00000000004201d4 <+4>: push %r13 + 0x00000000004201d6 <+6>: push %r12 + 0x00000000004201d8 <+8>: push %rbp + 0x00000000004201d9 <+9>: mov %esi,%ebp + 0x00000000004201db <+11>: push %rbx + 0x00000000004201dc <+12>: mov %rdi,%rbx + 0x00000000004201df <+15>: sub $0x38,%rsp + 0x00000000004201e3 <+19>: test %esi,%esi + 0x00000000004201e5 <+21>: mov %rcx,0x20(%rsp) + 0x00000000004201ea <+26>: jne 0x4203b0 <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+480> + 0x00000000004201f0 <+32>: mov 0x44(%rdi),%eax + 0x00000000004201f3 <+35>: xor %r14d,%r14d + 0x00000000004201f6 <+38>: mov $0xffffffff,%r15d + 0x00000000004201fc <+44>: sub $0x1,%eax + 0x00000000004201ff <+47>: mov %eax,0x2c(%rsp) + 0x0000000000420203 <+51>: mov 0x4(%rdx),%eax + 0x0000000000420206 <+54>: xor %r12d,%r12d + 0x0000000000420209 <+57>: mov (%rdx),%r13d + 0x000000000042020c <+60>: mov 0x38(%rbx),%ecx + 0x000000000042020f <+63>: mov 0x1d0(%rbx),%r11 + 0x0000000000420216 <+70>: test %eax,%eax + 0x0000000000420218 <+72>: cmovns %eax,%r12d + 0x000000000042021c <+76>: mov 0x3c(%rbx),%eax + 0x000000000042021f <+79>: add %r13d,%eax + 0x0000000000420222 <+82>: add %ecx,%eax + 0x0000000000420224 <+84>: mov %eax,%edx + 0x0000000000420226 <+86>: sar $0x1f,%edx + 0x0000000000420229 <+89>: idiv %ecx + 0x000000000042022b <+91>: movslq %edx,%rdx + 0x000000000042022e <+94>: lea (%rdx,%rdx,2),%rax + 0x0000000000420232 <+98>: movslq %r12d,%rdx + 0x0000000000420235 <+101>: lea (%r11,%rax,8),%rax + 0x0000000000420239 <+105>: mov (%rax),%rcx + 0x000000000042023c <+108>: lea (%rcx,%rdx,2),%rdx +=> 0x0000000000420240 <+112>: movzwl (%rdx),%edi + 0x0000000000420243 <+115>: mov %rdx,0x8(%rsp) + 0x0000000000420248 <+120>: callq 0x428ef0 <unicode::is_space(unsigned int)> + 0x000000000042024d <+125>: test %al,%al + 0x000000000042024f <+127>: movl $0x2,0x14(%rsp) + 0x0000000000420257 <+135>: mov 0x8(%rsp),%rdx + 0x000000000042025c <+140>: jne 0x420274 <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+164> + 0x000000000042025e <+142>: movzwl (%rdx),%esi + 0x0000000000420261 <+145>: movl $0x0,0x14(%rsp) + 0x0000000000420269 <+153>: cmp $0xff,%si + 0x000000000042026e <+158>: jbe 0x420428 <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+600> + 0x0000000000420274 <+164>: movslq %r15d,%rax + 0x0000000000420277 <+167>: add %rax,%rax + 0x000000000042027a <+170>: mov %rax,0x18(%rsp) + 0x000000000042027f <+175>: cmp %r14d,%r12d + 0x0000000000420282 <+178>: je 0x4202f8 <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+296> + 0x0000000000420284 <+180>: add 0x18(%rsp),%rdx + 0x0000000000420289 <+185>: movzwl (%rdx),%edi + 0x000000000042028c <+188>: cmp $0xffff,%di + 0x0000000000420290 <+192>: je 0x4202f0 <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+288> + 0x0000000000420292 <+194>: movzwl %di,%edi + 0x0000000000420295 <+197>: mov %rdx,0x8(%rsp) + 0x000000000042029a <+202>: callq 0x428ef0 <unicode::is_space(unsigned int)> + 0x000000000042029f <+207>: test %al,%al + 0x00000000004202a1 <+209>: mov $0x2,%ecx + 0x00000000004202a6 <+214>: mov 0x8(%rsp),%rdx + 0x00000000004202ab <+219>: jne 0x4202bd <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+237> + 0x00000000004202ad <+221>: movzwl (%rdx),%esi + 0x00000000004202b0 <+224>: xor %cl,%cl + 0x00000000004202b2 <+226>: cmp $0xff,%si + 0x00000000004202b7 <+231>: jbe 0x420400 <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+560> + 0x00000000004202bd <+237>: cmp %ecx,0x14(%rsp) + 0x00000000004202c1 <+241>: je 0x4202f0 <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+288> + 0x00000000004202c3 <+243>: mov 0x20(%rsp),%rdx + 0x00000000004202c8 <+248>: xor %eax,%eax + 0x00000000004202ca <+250>: cmp $0x1,%ebp + 0x00000000004202cd <+253>: sete %al + 0x00000000004202d0 <+256>: add %eax,%r12d + 0x00000000004202d3 <+259>: mov %r13d,(%rdx) + 0x00000000004202d6 <+262>: mov %r12d,0x4(%rdx) + 0x00000000004202da <+266>: add $0x38,%rsp + 0x00000000004202de <+270>: pop %rbx + 0x00000000004202df <+271>: pop %rbp + 0x00000000004202e0 <+272>: pop %r12 + 0x00000000004202e2 <+274>: pop %r13 + 0x00000000004202e4 <+276>: pop %r14 + 0x00000000004202e6 <+278>: pop %r15 + 0x00000000004202e8 <+280>: retq + 0x00000000004202e9 <+281>: nopl 0x0(%rax) + 0x00000000004202f0 <+288>: add %r15d,%r12d + 0x00000000004202f3 <+291>: cmp %r14d,%r12d + 0x00000000004202f6 <+294>: jne 0x420284 <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+180> + 0x00000000004202f8 <+296>: cmp 0x2c(%rsp),%r13d + 0x00000000004202fd <+301>: je 0x4202c3 <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+243> + 0x00000000004202ff <+303>: test %ebp,%ebp + 0x0000000000420301 <+305>: mov 0x3c(%rbx),%edi + 0x0000000000420304 <+308>: mov %r13d,%edx + 0x0000000000420307 <+311>: sete %r8b + 0x000000000042030b <+315>: mov 0x38(%rbx),%ecx + 0x000000000042030e <+318>: mov 0x1d0(%rbx),%rsi + 0x0000000000420315 <+325>: movzbl %r8b,%eax + 0x0000000000420319 <+329>: sub %eax,%edx + 0x000000000042031b <+331>: mov %edx,%eax + 0x000000000042031d <+333>: add %edi,%eax + 0x000000000042031f <+335>: add %ecx,%eax + 0x0000000000420321 <+337>: mov %eax,%edx + 0x0000000000420323 <+339>: sar $0x1f,%edx + 0x0000000000420326 <+342>: idiv %ecx + 0x0000000000420328 <+344>: movslq %edx,%rdx + 0x000000000042032b <+347>: lea (%rdx,%rdx,2),%rax + 0x000000000042032f <+351>: testb $0x1,0x14(%rsi,%rax,8) + 0x0000000000420334 <+356>: je 0x4202c3 <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+243> + 0x0000000000420336 <+358>: lea 0x0(%r13,%r15,1),%eax + 0x000000000042033b <+363>: xor %r12d,%r12d + 0x000000000042033e <+366>: test %r8b,%r8b + 0x0000000000420341 <+369>: mov %eax,0x28(%rsp) + 0x0000000000420345 <+373>: je 0x42034f <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+383> + 0x0000000000420347 <+375>: mov 0x14(%rbx),%r12d + 0x000000000042034b <+379>: sub $0x1,%r12d + 0x000000000042034f <+383>: mov 0x28(%rsp),%eax + 0x0000000000420353 <+387>: add %edi,%eax + 0x0000000000420355 <+389>: add %ecx,%eax + 0x0000000000420357 <+391>: mov %eax,%edx + 0x0000000000420359 <+393>: sar $0x1f,%edx + 0x000000000042035c <+396>: idiv %ecx + 0x000000000042035e <+398>: movslq %edx,%rdx + 0x0000000000420361 <+401>: lea (%rdx,%rdx,2),%rax + 0x0000000000420365 <+405>: mov (%rsi,%rax,8),%rax + 0x0000000000420369 <+409>: test %rax,%rax + 0x000000000042036c <+412>: je 0x4203a2 <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+466> + 0x000000000042036e <+414>: movslq %r12d,%rdx + 0x0000000000420371 <+417>: lea (%rax,%rdx,2),%rdx + 0x0000000000420375 <+421>: movzwl (%rdx),%edi + 0x0000000000420378 <+424>: mov %rdx,0x8(%rsp) + 0x000000000042037d <+429>: callq 0x428ef0 <unicode::is_space(unsigned int)> + 0x0000000000420382 <+434>: test %al,%al + 0x0000000000420384 <+436>: mov $0x2,%ecx + 0x0000000000420389 <+441>: mov 0x8(%rsp),%rdx + 0x000000000042038e <+446>: jne 0x42039c <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+460> + 0x0000000000420390 <+448>: movzwl (%rdx),%esi + 0x0000000000420393 <+451>: xor %cl,%cl + 0x0000000000420395 <+453>: cmp $0xff,%si + 0x000000000042039a <+458>: jbe 0x4203d0 <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+512> + 0x000000000042039c <+460>: cmp %ecx,0x14(%rsp) + 0x00000000004203a0 <+464>: je 0x4203f2 <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+546> + 0x00000000004203a2 <+466>: mov %r14d,%r12d + 0x00000000004203a5 <+469>: jmpq 0x4202c3 <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+243> + 0x00000000004203aa <+474>: nopw 0x0(%rax,%rax,1) + 0x00000000004203b0 <+480>: mov 0x18(%rdi),%eax + 0x00000000004203b3 <+483>: mov 0x14(%rdi),%r14d + 0x00000000004203b7 <+487>: mov $0x1,%r15d + 0x00000000004203bd <+493>: mov %eax,0x2c(%rsp) + 0x00000000004203c1 <+497>: sub $0x1,%r14d + 0x00000000004203c5 <+501>: jmpq 0x420203 <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+51> + 0x00000000004203ca <+506>: nopw 0x0(%rax,%rax,1) + 0x00000000004203d0 <+512>: mov 0x17c0(%rbx),%rdi + 0x00000000004203d7 <+519>: movzwl %si,%esi + 0x00000000004203da <+522>: callq 0x4074a0 strchr@plt + 0x00000000004203df <+527>: xor %ecx,%ecx + 0x00000000004203e1 <+529>: test %rax,%rax + 0x00000000004203e4 <+532>: mov 0x8(%rsp),%rdx + 0x00000000004203e9 <+537>: setne %cl + 0x00000000004203ec <+540>: cmp %ecx,0x14(%rsp) + 0x00000000004203f0 <+544>: jne 0x4203a2 <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+466> + 0x00000000004203f2 <+546>: mov 0x28(%rsp),%r13d + 0x00000000004203f7 <+551>: jmpq 0x42027f <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+175> + 0x00000000004203fc <+556>: nopl 0x0(%rax) + 0x0000000000420400 <+560>: mov 0x17c0(%rbx),%rdi + 0x0000000000420407 <+567>: movzwl %si,%esi + 0x000000000042040a <+570>: callq 0x4074a0 strchr@plt + 0x000000000042040f <+575>: xor %ecx,%ecx + 0x0000000000420411 <+577>: test %rax,%rax + 0x0000000000420414 <+580>: mov 0x8(%rsp),%rdx + 0x0000000000420419 <+585>: setne %cl + 0x000000000042041c <+588>: jmpq 0x4202bd <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+237> + 0x0000000000420421 <+593>: nopl 0x0(%rax) + 0x0000000000420428 <+600>: mov 0x17c0(%rbx),%rdi + 0x000000000042042f <+607>: movzwl %si,%esi + 0x0000000000420432 <+610>: callq 0x4074a0 strchr@plt + 0x0000000000420437 <+615>: test %rax,%rax + 0x000000000042043a <+618>: mov 0x8(%rsp),%rdx + 0x000000000042043f <+623>: setne %al + 0x0000000000420442 <+626>: movzbl %al,%eax + 0x0000000000420445 <+629>: mov %eax,0x14(%rsp) + 0x0000000000420449 <+633>: jmpq 0x420274 <rxvt_term::selection_delimit_word(page_dirn, row_col_t const*, row_col_t*)+164> +End of assembler dump. diff --git a/tests/runtests/upload-filename/problem_dir/backtrace_rating b/tests/runtests/upload-filename/problem_dir/backtrace_rating new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/backtrace_rating @@ -0,0 +1 @@ +1 diff --git a/tests/runtests/upload-filename/problem_dir/cmdline b/tests/runtests/upload-filename/problem_dir/cmdline new file mode 100644 index 0000000..f97e476 --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/cmdline @@ -0,0 +1 @@ +urxvtd -q -o -f \ No newline at end of file diff --git a/tests/runtests/upload-filename/problem_dir/comment b/tests/runtests/upload-filename/problem_dir/comment new file mode 100644 index 0000000..a7059e0 --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/comment @@ -0,0 +1 @@ +Shift selecting text in console window \ No newline at end of file diff --git a/tests/runtests/upload-filename/problem_dir/component b/tests/runtests/upload-filename/problem_dir/component new file mode 100644 index 0000000..0b27954 --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/component @@ -0,0 +1 @@ +rxvt-unicode \ No newline at end of file diff --git a/tests/runtests/upload-filename/problem_dir/crash_function b/tests/runtests/upload-filename/problem_dir/crash_function new file mode 100644 index 0000000..d41666a --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/crash_function @@ -0,0 +1 @@ +rxvt_term::selection_delimit_word \ No newline at end of file diff --git a/tests/runtests/upload-filename/problem_dir/dso_list b/tests/runtests/upload-filename/problem_dir/dso_list new file mode 100644 index 0000000..6f2c6fa --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/dso_list @@ -0,0 +1,40 @@ +/lib64/libcrypt-2.14.so glibc-2.14-4.x86_64 (Fedora Project) 1310382635 +/lib64/libfreebl3.so nss-softokn-freebl-3.12.10-2.fc15.x86_64 (Fedora Project) 1310382622 +/lib64/libgthread-2.0.so.0.2800.8 glib2-2.28.8-1.fc15.x86_64 (Fedora Project) 1310382640 +/usr/lib64/libpng12.so.0.46.0 libpng-2:1.2.46-1.fc15.x86_64 (Fedora Project) 1311205059 +/usr/lib64/perl5/CORE/libperl.so perl-libs-4:5.12.4-159.fc15.x86_64 (Fedora Project) 1310382649 +/lib64/libz.so.1.2.5 zlib-1.2.5-3.fc15.x86_64 (Fedora Project) 1310382636 +/usr/lib/locale/locale-archive glibc-common-2.14-4.x86_64 (Fedora Project) 1310382628 +/usr/lib64/libXcursor.so.1.0.2 libXcursor-1.1.11-3.fc15.x86_64 (Fedora Project) 1310382891 +/usr/lib64/libxcb.so.1.1.0 libxcb-1.7-2.fc15.x86_64 (Fedora Project) 1310382643 +/usr/lib64/libfontconfig.so.1.4.4 fontconfig-2.8.0-3.fc15.x86_64 (Fedora Project) 1310382676 +/lib64/libdl-2.14.so glibc-2.14-4.x86_64 (Fedora Project) 1310382635 +/lib64/libgio-2.0.so.0.2800.8 glib2-2.28.8-1.fc15.x86_64 (Fedora Project) 1310382640 +/usr/bin/urxvtd rxvt-unicode-9.12-2.fc15.x86_64 (Fedora Project) 1311324474 +/lib64/libm-2.14.so glibc-2.14-4.x86_64 (Fedora Project) 1310382635 +/lib64/ld-2.14.so glibc-2.14-4.x86_64 (Fedora Project) 1310382635 +/usr/lib64/freetype-freeworld/libfreetype.so.6.6.2 freetype-freeworld-2.4.4-3.fc15.x86_64 (RPM Fusion) 1310418014 +/lib64/libutil-2.14.so glibc-2.14-4.x86_64 (Fedora Project) 1310382635 +/lib64/libselinux.so.1 libselinux-2.0.99-4.fc15.x86_64 (Fedora Project) 1310382639 +/usr/share/fonts/dejavu/DejaVuSansMono.ttf dejavu-sans-mono-fonts-2.33-1.fc15.noarch (Fedora Project) 1310382882 +/lib64/libgmodule-2.0.so.0.2800.8 glib2-2.28.8-1.fc15.x86_64 (Fedora Project) 1310382640 +/usr/lib64/libXfixes.so.3.1.0 libXfixes-5.0-1.fc15.x86_64 (Fedora Project) 1310382889 +/usr/lib64/gconv/gconv-modules.cache glibc-2.14-4.x86_64 (Fedora Project) 1310382635 +/usr/lib64/libXrender.so.1.3.0 libXrender-0.9.6-2.fc15.x86_64 (Fedora Project) 1310382889 +/lib64/libc-2.14.so glibc-2.14-4.x86_64 (Fedora Project) 1310382635 +/usr/lib64/libXau.so.6.0.0 libXau-1.0.6-2.fc15.x86_64 (Fedora Project) 1310382642 +/usr/lib64/libXft.so.2.2.0 libXft-2.2.0-2.fc15.x86_64 (Fedora Project) 1310382895 +/usr/lib64/libstdc++.so.6.0.16 libstdc++-4.6.0-9.fc15.x86_64 (Fedora Project) 1310382636 +/lib64/libgcc_s-4.6.0-20110530.so.1 libgcc-4.6.0-9.fc15.x86_64 (Fedora Project) 1310382602 +/usr/lib64/perl5/vendor_perl/auto/List/Util/Util.so perl-Scalar-List-Utils-1.23-1.fc15.x86_64 (Fedora Project) 1310382648 +/lib64/libgobject-2.0.so.0.2800.8 glib2-2.28.8-1.fc15.x86_64 (Fedora Project) 1310382640 +/lib64/librt-2.14.so glibc-2.14-4.x86_64 (Fedora Project) 1310382635 +/lib64/libresolv-2.14.so glibc-2.14-4.x86_64 (Fedora Project) 1310382635 +/lib64/libglib-2.0.so.0.2800.8 glib2-2.28.8-1.fc15.x86_64 (Fedora Project) 1310382640 +/lib64/libnsl-2.14.so glibc-2.14-4.x86_64 (Fedora Project) 1310382635 +/lib64/libexpat.so.1.5.2 expat-2.0.1-11.fc15.x86_64 (Fedora Project) 1310382637 +/usr/lib64/libX11.so.6.3.0 libX11-1.4.3-1.fc15.x86_64 (Fedora Project) 1310382888 +/usr/share/fonts/dejavu/DejaVuSansMono-Bold.ttf dejavu-sans-mono-fonts-2.33-1.fc15.noarch (Fedora Project) 1310382882 +/usr/lib64/libgdk_pixbuf-2.0.so.0.2300.3 gdk-pixbuf2-2.23.3-2.fc15.x86_64 (Fedora Project) 1310382889 +/lib64/libnss_files-2.14.so glibc-2.14-4.x86_64 (Fedora Project) 1310382635 +/lib64/libpthread-2.14.so glibc-2.14-4.x86_64 (Fedora Project) 1310382635 diff --git a/tests/runtests/upload-filename/problem_dir/duphash b/tests/runtests/upload-filename/problem_dir/duphash new file mode 100644 index 0000000..b3699c3 --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/duphash @@ -0,0 +1 @@ +bbfe66399cc9cb8ba647414e33c5d1e4ad82b511 \ No newline at end of file diff --git a/tests/runtests/upload-filename/problem_dir/executable b/tests/runtests/upload-filename/problem_dir/executable new file mode 100644 index 0000000..7b9643b --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/executable @@ -0,0 +1 @@ +/usr/bin/urxvtd \ No newline at end of file diff --git a/tests/runtests/upload-filename/problem_dir/hostname b/tests/runtests/upload-filename/problem_dir/hostname new file mode 100644 index 0000000..7646f7c --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/hostname @@ -0,0 +1 @@ +fluffy \ No newline at end of file diff --git a/tests/runtests/upload-filename/problem_dir/kernel b/tests/runtests/upload-filename/problem_dir/kernel new file mode 100644 index 0000000..e47f395 --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/kernel @@ -0,0 +1 @@ +2.6.38.8-35.fc15.x86_64 \ No newline at end of file diff --git a/tests/runtests/upload-filename/problem_dir/maps b/tests/runtests/upload-filename/problem_dir/maps new file mode 100644 index 0000000..af75592 --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/maps @@ -0,0 +1,196 @@ +00400000-00514000 r-xp 00000000 fd:02 2528625 /usr/bin/urxvtd +00713000-0071f000 rw-p 00113000 fd:02 2528625 /usr/bin/urxvtd +0091e000-00923000 rw-p 0011e000 fd:02 2528625 /usr/bin/urxvtd +010ee000-0148c000 rw-p 00000000 00:00 0 [heap] +353be00000-353be1f000 r-xp 00000000 fd:02 918046 /lib64/ld-2.14.so +353c01e000-353c01f000 r--p 0001e000 fd:02 918046 /lib64/ld-2.14.so +353c01f000-353c020000 rw-p 0001f000 fd:02 918046 /lib64/ld-2.14.so +353c020000-353c021000 rw-p 00000000 00:00 0 +353c200000-353c315000 r-xp 00000000 fd:02 918061 /lib64/libglib-2.0.so.0.2800.8 +353c315000-353c515000 ---p 00115000 fd:02 918061 /lib64/libglib-2.0.so.0.2800.8 +353c515000-353c516000 rw-p 00115000 fd:02 918061 /lib64/libglib-2.0.so.0.2800.8 +353c516000-353c517000 rw-p 00000000 00:00 0 +353c600000-353c78f000 r-xp 00000000 fd:02 918047 /lib64/libc-2.14.so +353c78f000-353c98e000 ---p 0018f000 fd:02 918047 /lib64/libc-2.14.so +353c98e000-353c992000 r--p 0018e000 fd:02 918047 /lib64/libc-2.14.so +353c992000-353c993000 rw-p 00192000 fd:02 918047 /lib64/libc-2.14.so +353c993000-353c999000 rw-p 00000000 00:00 0 +353ca00000-353ca16000 r-xp 00000000 fd:02 918048 /lib64/libpthread-2.14.so +353ca16000-353cc15000 ---p 00016000 fd:02 918048 /lib64/libpthread-2.14.so +353cc15000-353cc16000 r--p 00015000 fd:02 918048 /lib64/libpthread-2.14.so +353cc16000-353cc17000 rw-p 00016000 fd:02 918048 /lib64/libpthread-2.14.so +353cc17000-353cc1b000 rw-p 00000000 00:00 0 +353ce00000-353ce02000 r-xp 00000000 fd:02 918050 /lib64/libdl-2.14.so +353ce02000-353d002000 ---p 00002000 fd:02 918050 /lib64/libdl-2.14.so +353d002000-353d003000 r--p 00002000 fd:02 918050 /lib64/libdl-2.14.so +353d003000-353d004000 rw-p 00003000 fd:02 918050 /lib64/libdl-2.14.so +353d200000-353d207000 r-xp 00000000 fd:02 918049 /lib64/librt-2.14.so +353d207000-353d406000 ---p 00007000 fd:02 918049 /lib64/librt-2.14.so +353d406000-353d407000 r--p 00006000 fd:02 918049 /lib64/librt-2.14.so +353d407000-353d408000 rw-p 00007000 fd:02 918049 /lib64/librt-2.14.so +353d600000-353d683000 r-xp 00000000 fd:02 918069 /lib64/libm-2.14.so +353d683000-353d882000 ---p 00083000 fd:02 918069 /lib64/libm-2.14.so +353d882000-353d883000 r--p 00082000 fd:02 918069 /lib64/libm-2.14.so +353d883000-353d884000 rw-p 00083000 fd:02 918069 /lib64/libm-2.14.so +353da00000-353da16000 r-xp 00000000 fd:02 918065 /lib64/libz.so.1.2.5 +353da16000-353dc16000 ---p 00016000 fd:02 918065 /lib64/libz.so.1.2.5 +353dc16000-353dc17000 rw-p 00016000 fd:02 918065 /lib64/libz.so.1.2.5 +353de00000-353de15000 r-xp 00000000 fd:02 918070 /lib64/libgcc_s-4.6.0-20110530.so.1 +353de15000-353e014000 ---p 00015000 fd:02 918070 /lib64/libgcc_s-4.6.0-20110530.so.1 +353e014000-353e015000 rw-p 00014000 fd:02 918070 /lib64/libgcc_s-4.6.0-20110530.so.1 +353e200000-353e21d000 r-xp 00000000 fd:02 918056 /lib64/libselinux.so.1 +353e21d000-353e41c000 ---p 0001d000 fd:02 918056 /lib64/libselinux.so.1 +353e41c000-353e41d000 r--p 0001c000 fd:02 918056 /lib64/libselinux.so.1 +353e41d000-353e41e000 rw-p 0001d000 fd:02 918056 /lib64/libselinux.so.1 +353e41e000-353e41f000 rw-p 00000000 00:00 0 +353e600000-353e617000 r-xp 00000000 fd:02 918055 /lib64/libresolv-2.14.so +353e617000-353e817000 ---p 00017000 fd:02 918055 /lib64/libresolv-2.14.so +353e817000-353e818000 r--p 00017000 fd:02 918055 /lib64/libresolv-2.14.so +353e818000-353e819000 rw-p 00018000 fd:02 918055 /lib64/libresolv-2.14.so +353e819000-353e81b000 rw-p 00000000 00:00 0 +353ea00000-353ea04000 r-xp 00000000 fd:02 918062 /lib64/libgthread-2.0.so.0.2800.8 +353ea04000-353ec03000 ---p 00004000 fd:02 918062 /lib64/libgthread-2.0.so.0.2800.8 +353ec03000-353ec04000 rw-p 00003000 fd:02 918062 /lib64/libgthread-2.0.so.0.2800.8 +353ee00000-353ee4c000 r-xp 00000000 fd:02 918063 /lib64/libgobject-2.0.so.0.2800.8 +353ee4c000-353f04b000 ---p 0004c000 fd:02 918063 /lib64/libgobject-2.0.so.0.2800.8 +353f04b000-353f04d000 rw-p 0004b000 fd:02 918063 /lib64/libgobject-2.0.so.0.2800.8 +353f04d000-353f04e000 rw-p 00000000 00:00 0 +353f200000-353f203000 r-xp 00000000 fd:02 918064 /lib64/libgmodule-2.0.so.0.2800.8 +353f203000-353f402000 ---p 00003000 fd:02 918064 /lib64/libgmodule-2.0.so.0.2800.8 +353f402000-353f403000 rw-p 00002000 fd:02 918064 /lib64/libgmodule-2.0.so.0.2800.8 +353f600000-353f721000 r-xp 00000000 fd:02 918066 /lib64/libgio-2.0.so.0.2800.8 +353f721000-353f920000 ---p 00121000 fd:02 918066 /lib64/libgio-2.0.so.0.2800.8 +353f920000-353f926000 rw-p 00120000 fd:02 918066 /lib64/libgio-2.0.so.0.2800.8 +353f926000-353f927000 rw-p 00000000 00:00 0 +353fa00000-353fb39000 r-xp 00000000 fd:02 2510411 /usr/lib64/libX11.so.6.3.0 +353fb39000-353fd38000 ---p 00139000 fd:02 2510411 /usr/lib64/libX11.so.6.3.0 +353fd38000-353fd3e000 rw-p 00138000 fd:02 2510411 /usr/lib64/libX11.so.6.3.0 +353fe00000-353fe1b000 r-xp 00000000 fd:02 2510410 /usr/lib64/libxcb.so.1.1.0 +353fe1b000-354001a000 ---p 0001b000 fd:02 2510410 /usr/lib64/libxcb.so.1.1.0 +354001a000-354001b000 rw-p 0001a000 fd:02 2510410 /usr/lib64/libxcb.so.1.1.0 +3540200000-3540202000 r-xp 00000000 fd:02 2510409 /usr/lib64/libXau.so.6.0.0 +3540202000-3540402000 ---p 00002000 fd:02 2510409 /usr/lib64/libXau.so.6.0.0 +3540402000-3540403000 rw-p 00002000 fd:02 2510409 /usr/lib64/libXau.so.6.0.0 +3540600000-3540627000 r-xp 00000000 fd:02 918073 /lib64/libexpat.so.1.5.2 +3540627000-3540826000 ---p 00027000 fd:02 918073 /lib64/libexpat.so.1.5.2 +3540826000-3540829000 rw-p 00026000 fd:02 918073 /lib64/libexpat.so.1.5.2 +3541e00000-3541e09000 r-xp 00000000 fd:02 2510412 /usr/lib64/libXrender.so.1.3.0 +3541e09000-3542009000 ---p 00009000 fd:02 2510412 /usr/lib64/libXrender.so.1.3.0 +3542009000-354200a000 rw-p 00009000 fd:02 2510412 /usr/lib64/libXrender.so.1.3.0 +3542200000-3542205000 r-xp 00000000 fd:02 2510420 /usr/lib64/libXfixes.so.3.1.0 +3542205000-3542405000 ---p 00005000 fd:02 2510420 /usr/lib64/libXfixes.so.3.1.0 +3542405000-3542406000 rw-p 00005000 fd:02 2510420 /usr/lib64/libXfixes.so.3.1.0 +3544a00000-3544a09000 r-xp 00000000 fd:02 2510421 /usr/lib64/libXcursor.so.1.0.2 +3544a09000-3544c09000 ---p 00009000 fd:02 2510421 /usr/lib64/libXcursor.so.1.0.2 +3544c09000-3544c0a000 rw-p 00009000 fd:02 2510421 /usr/lib64/libXcursor.so.1.0.2 +3546600000-354665c000 r-xp 00000000 fd:02 918051 /lib64/libfreebl3.so +354665c000-354685b000 ---p 0005c000 fd:02 918051 /lib64/libfreebl3.so +354685b000-354685d000 rw-p 0005b000 fd:02 918051 /lib64/libfreebl3.so +354685d000-3546861000 rw-p 00000000 00:00 0 +3546e00000-3546e08000 r-xp 00000000 fd:02 918052 /lib64/libcrypt-2.14.so +3546e08000-3547007000 ---p 00008000 fd:02 918052 /lib64/libcrypt-2.14.so +3547007000-3547008000 r--p 00007000 fd:02 918052 /lib64/libcrypt-2.14.so +3547008000-3547009000 rw-p 00008000 fd:02 918052 /lib64/libcrypt-2.14.so +3547009000-3547037000 rw-p 00000000 00:00 0 +3548e00000-3548ee8000 r-xp 00000000 fd:02 2493423 /usr/lib64/libstdc++.so.6.0.16 +3548ee8000-35490e8000 ---p 000e8000 fd:02 2493423 /usr/lib64/libstdc++.so.6.0.16 +35490e8000-35490f0000 r--p 000e8000 fd:02 2493423 /usr/lib64/libstdc++.so.6.0.16 +35490f0000-35490f2000 rw-p 000f0000 fd:02 2493423 /usr/lib64/libstdc++.so.6.0.16 +35490f2000-3549107000 rw-p 00000000 00:00 0 +354e600000-354e602000 r-xp 00000000 fd:02 918067 /lib64/libutil-2.14.so +354e602000-354e801000 ---p 00002000 fd:02 918067 /lib64/libutil-2.14.so +354e801000-354e802000 r--p 00001000 fd:02 918067 /lib64/libutil-2.14.so +354e802000-354e803000 rw-p 00002000 fd:02 918067 /lib64/libutil-2.14.so +3550600000-3550616000 r-xp 00000000 fd:02 918088 /lib64/libnsl-2.14.so +3550616000-3550815000 ---p 00016000 fd:02 918088 /lib64/libnsl-2.14.so +3550815000-3550816000 r--p 00015000 fd:02 918088 /lib64/libnsl-2.14.so +3550816000-3550817000 rw-p 00016000 fd:02 918088 /lib64/libnsl-2.14.so +3550817000-3550819000 rw-p 00000000 00:00 0 +35a4800000-35a4826000 r-xp 00000000 fd:02 2503123 /usr/lib64/libpng12.so.0.46.0 +35a4826000-35a4a26000 ---p 00026000 fd:02 2503123 /usr/lib64/libpng12.so.0.46.0 +35a4a26000-35a4a27000 rw-p 00026000 fd:02 2503123 /usr/lib64/libpng12.so.0.46.0 +35a4c00000-35a4c21000 r-xp 00000000 fd:02 2529059 /usr/lib64/libgdk_pixbuf-2.0.so.0.2300.3 +35a4c21000-35a4e21000 ---p 00021000 fd:02 2529059 /usr/lib64/libgdk_pixbuf-2.0.so.0.2300.3 +35a4e21000-35a4e22000 rw-p 00021000 fd:02 2529059 /usr/lib64/libgdk_pixbuf-2.0.so.0.2300.3 +3b7ac00000-3b7ac97000 r-xp 00000000 fd:02 2650372 /usr/lib64/freetype-freeworld/libfreetype.so.6.6.2 +3b7ac97000-3b7ae96000 ---p 00097000 fd:02 2650372 /usr/lib64/freetype-freeworld/libfreetype.so.6.6.2 +3b7ae96000-3b7ae9c000 rw-p 00096000 fd:02 2650372 /usr/lib64/freetype-freeworld/libfreetype.so.6.6.2 +3b7b000000-3b7b034000 r-xp 00000000 fd:02 2518521 /usr/lib64/libfontconfig.so.1.4.4 +3b7b034000-3b7b233000 ---p 00034000 fd:02 2518521 /usr/lib64/libfontconfig.so.1.4.4 +3b7b233000-3b7b235000 rw-p 00033000 fd:02 2518521 /usr/lib64/libfontconfig.so.1.4.4 +3b7b400000-3b7b414000 r-xp 00000000 fd:02 2529043 /usr/lib64/libXft.so.2.2.0 +3b7b414000-3b7b613000 ---p 00014000 fd:02 2529043 /usr/lib64/libXft.so.2.2.0 +3b7b613000-3b7b614000 rw-p 00013000 fd:02 2529043 /usr/lib64/libXft.so.2.2.0 +3b83600000-3b8376b000 r-xp 00000000 fd:02 2907405 /usr/lib64/perl5/CORE/libperl.so +3b8376b000-3b8396a000 ---p 0016b000 fd:02 2907405 /usr/lib64/perl5/CORE/libperl.so +3b8396a000-3b83973000 rw-p 0016a000 fd:02 2907405 /usr/lib64/perl5/CORE/libperl.so +7f7ba7598000-7f7ba75a4000 r-xp 00000000 fd:02 917534 /lib64/libnss_files-2.14.so +7f7ba75a4000-7f7ba77a3000 ---p 0000c000 fd:02 917534 /lib64/libnss_files-2.14.so +7f7ba77a3000-7f7ba77a4000 r--p 0000b000 fd:02 917534 /lib64/libnss_files-2.14.so +7f7ba77a4000-7f7ba77a5000 rw-p 0000c000 fd:02 917534 /lib64/libnss_files-2.14.so +7f7ba77a5000-7f7ba77f2000 rw-p 00000000 00:00 0 +7f7ba782d000-7f7ba787a000 r--p 00000000 fd:02 2762087 /usr/share/fonts/dejavu/DejaVuSansMono-Bold.ttf +7f7ba787a000-7f7ba78cc000 r--p 00000000 fd:02 2762090 /usr/share/fonts/dejavu/DejaVuSansMono.ttf +7f7ba78cc000-7f7ba78ce000 r--s 00000000 fd:02 3162805 /var/cache/fontconfig/7e24c1c3b25754604c4f46a5df32e5c1-le64.cache-3 +7f7ba78ce000-7f7ba78d0000 r--s 00000000 fd:02 3156198 /var/cache/fontconfig/3ad840390a44011d5fc042cdf95ddcfe-le64.cache-3 +7f7ba78d0000-7f7ba78d4000 r--s 00000000 fd:02 3162779 /var/cache/fontconfig/87f5e051180a7a75f16eb6fe7dbd3749-le64.cache-3 +7f7ba78d4000-7f7ba78dd000 r--s 00000000 fd:02 3156202 /var/cache/fontconfig/b79f3aaa7d385a141ab53ec885cc22a8-le64.cache-3 +7f7ba78dd000-7f7ba78e0000 r--s 00000000 fd:02 3162822 /var/cache/fontconfig/0b1bcc92b4d25cc154d77dafe3bceaa0-le64.cache-3 +7f7ba78e0000-7f7ba78e2000 r--s 00000000 fd:02 3162821 /var/cache/fontconfig/afda88ba2c9de689dfd6d8c6d2e4e427-le64.cache-3 +7f7ba78e2000-7f7ba78e3000 r--s 00000000 fd:03 131441 /home/rmarko/.fontconfig/54091e63ccbc9b283e4dea7ca32e5491-le64.cache-3 +7f7ba78e3000-7f7ba78e7000 r--s 00000000 fd:03 131428 /home/rmarko/.fontconfig/68fe5182b80ae2709eaaf65e42dcaf33-le64.cache-3 +7f7ba78e7000-7f7ba78e8000 r--s 00000000 fd:03 131426 /home/rmarko/.fontconfig/ac1b9faef01ec4feb36ba76b98842887-le64.cache-3 +7f7ba78e8000-7f7ba78eb000 r--s 00000000 fd:03 131425 /home/rmarko/.fontconfig/ebb99784de50d4c4223a6523ac9c5d63-le64.cache-3 +7f7ba78eb000-7f7ba78f2000 r--s 00000000 fd:03 131439 /home/rmarko/.fontconfig/8034b44ea17662c765f963e9b699c5b6-le64.cache-3 +7f7ba78f2000-7f7ba78f3000 r--s 00000000 fd:03 131471 /home/rmarko/.fontconfig/ad3af325ad4e0a82eb2b3e930ff23cd5-le64.cache-3 +7f7ba78f3000-7f7ba78f5000 r--s 00000000 fd:03 131493 /home/rmarko/.fontconfig/0c76f5ee3a101157014da521290d0599-le64.cache-3 +7f7ba78f5000-7f7ba78f8000 r--s 00000000 fd:02 3162813 /var/cache/fontconfig/2e1514a9fdd499050989183bb65136db-le64.cache-3 +7f7ba78f8000-7f7ba78fb000 r--s 00000000 fd:02 3162812 /var/cache/fontconfig/5c755b2f27115486aa6359c84dd3cbda-le64.cache-3 +7f7ba78fb000-7f7ba7901000 r--s 00000000 fd:02 3162811 /var/cache/fontconfig/75726aeed9fe8691fd29315754d820cc-le64.cache-3 +7f7ba7901000-7f7ba7903000 r--s 00000000 fd:02 3162810 /var/cache/fontconfig/3f821257dd33660ba7bbb45c32deb84c-le64.cache-3 +7f7ba7903000-7f7ba7905000 r--s 00000000 fd:02 3162809 /var/cache/fontconfig/830f035fa84a65ce80e050178dbb630d-le64.cache-3 +7f7ba7905000-7f7ba7906000 r--s 00000000 fd:02 3162808 /var/cache/fontconfig/81a173283b451552b599cfaafd6236bd-le64.cache-3 +7f7ba7906000-7f7ba7907000 r--s 00000000 fd:02 3162807 /var/cache/fontconfig/ac68f755438cc3dc5a526084839fc7ca-le64.cache-3 +7f7ba7907000-7f7ba7908000 r--s 00000000 fd:02 3162806 /var/cache/fontconfig/12513961c6e7090f8648812f9eaf65d6-le64.cache-3 +7f7ba7908000-7f7ba790a000 r--s 00000000 fd:02 3162803 /var/cache/fontconfig/e26bf336397aae6fcef4d3803472adec-le64.cache-3 +7f7ba790a000-7f7ba790b000 r--s 00000000 fd:02 3162802 /var/cache/fontconfig/a5c2dc934fad9bbf30c854216245519d-le64.cache-3 +7f7ba790b000-7f7ba790c000 r--s 00000000 fd:02 3162801 /var/cache/fontconfig/17e60ccdf2eb53b214a9a5d6663eb217-le64.cache-3 +7f7ba790c000-7f7ba790d000 r--s 00000000 fd:02 3146299 /var/cache/fontconfig/6fcb01a03a016cc71057b587cdea6709-le64.cache-3 +7f7ba790d000-7f7ba790e000 r--s 00000000 fd:02 3162799 /var/cache/fontconfig/2678730374f88f8c6b5c0192ab5a46db-le64.cache-3 +7f7ba790e000-7f7ba790f000 r--s 00000000 fd:02 3162798 /var/cache/fontconfig/46d51d90fe9d963f6f4186edb936a931-le64.cache-3 +7f7ba790f000-7f7ba7910000 r--s 00000000 fd:02 3162797 /var/cache/fontconfig/b887eea8f1b96e1d899b44ed6681fc27-le64.cache-3 +7f7ba7910000-7f7ba7911000 r--s 00000000 fd:02 3162796 /var/cache/fontconfig/860639f272b8b4b3094f9e399e41bccd-le64.cache-3 +7f7ba7911000-7f7ba7912000 r--s 00000000 fd:02 3162795 /var/cache/fontconfig/211368abcb0ff835c229ff05c9ec01dc-le64.cache-3 +7f7ba7912000-7f7ba7913000 r--s 00000000 fd:02 3162794 /var/cache/fontconfig/c46020d7221988a13df853d2b46304fc-le64.cache-3 +7f7ba7913000-7f7ba7914000 r--s 00000000 fd:02 3162793 /var/cache/fontconfig/fa2b533b7056bdadb961f088bc0a978b-le64.cache-3 +7f7ba7914000-7f7ba7915000 r--s 00000000 fd:02 3162792 /var/cache/fontconfig/df893b4576ad6107f9397134092c4059-le64.cache-3 +7f7ba7915000-7f7ba7916000 r--s 00000000 fd:02 3162791 /var/cache/fontconfig/900402270e15d763a6e008bb2d4c7686-le64.cache-3 +7f7ba7916000-7f7ba7917000 r--s 00000000 fd:02 3156052 /var/cache/fontconfig/47f48679023f44a4d1e44699a69464f6-le64.cache-3 +7f7ba7917000-7f7ba7918000 r--s 00000000 fd:02 3162789 /var/cache/fontconfig/2881ed3fd21ca306ddad6f9b0dd3189f-le64.cache-3 +7f7ba7918000-7f7ba7919000 r--s 00000000 fd:02 3162788 /var/cache/fontconfig/3c3fb04d32a5211b073874b125d29701-le64.cache-3 +7f7ba7919000-7f7ba791a000 r--s 00000000 fd:02 3162787 /var/cache/fontconfig/e61abf8156cc476151baa07d67337cae-le64.cache-3 +7f7ba791a000-7f7ba791f000 r--s 00000000 fd:02 3162786 /var/cache/fontconfig/b67b32625a2bb51b023d3814a918f351-le64.cache-3 +7f7ba791f000-7f7ba7923000 r--s 00000000 fd:02 3162785 /var/cache/fontconfig/d3379abda271c4acd2ad0c01f565d0b0-le64.cache-3 +7f7ba7923000-7f7ba7933000 r--s 00000000 fd:02 3162782 /var/cache/fontconfig/614d1caaa4d7914789410f6367de37ca-le64.cache-3 +7f7ba7933000-7f7ba793c000 r--s 00000000 fd:02 3162780 /var/cache/fontconfig/12b26b760a24f8b4feb03ad48a333a72-le64.cache-3 +7f7ba793c000-7f7ba7947000 r--s 00000000 fd:02 3162777 /var/cache/fontconfig/33315028185e8b9ecf55d3c7f93d9205-le64.cache-3 +7f7ba7947000-7f7ba794e000 r-xp 00000000 fd:02 2883650 /usr/lib64/perl5/vendor_perl/auto/List/Util/Util.so +7f7ba794e000-7f7ba7b4d000 ---p 00007000 fd:02 2883650 /usr/lib64/perl5/vendor_perl/auto/List/Util/Util.so +7f7ba7b4d000-7f7ba7b4e000 rw-p 00006000 fd:02 2883650 /usr/lib64/perl5/vendor_perl/auto/List/Util/Util.so +7f7ba7b4e000-7f7badf71000 r--p 00000000 fd:02 2491408 /usr/lib/locale/locale-archive +7f7badf71000-7f7badf80000 rw-p 00000000 00:00 0 +7f7badf82000-7f7badf87000 r--s 00000000 fd:02 3162784 /var/cache/fontconfig/46b47dbc682d2ca4191e148ea7bde7f2-le64.cache-3 +7f7badf87000-7f7badf88000 r--s 00000000 fd:02 3162783 /var/cache/fontconfig/b4d0b56f766d89640448751fcd18ec1e-le64.cache-3 +7f7badf88000-7f7badf89000 r--s 00000000 fd:02 3162781 /var/cache/fontconfig/27a26a6572d8db04e2609c64fb6f9476-le64.cache-3 +7f7badf89000-7f7badf90000 r--s 00000000 fd:02 3162776 /var/cache/fontconfig/928306c3ad40271d946e41014a49fc28-le64.cache-3 +7f7badf90000-7f7badf97000 r--s 00000000 fd:02 3162775 /var/cache/fontconfig/fa1582dab13e7e8e44e5a9424d309f0e-le64.cache-3 +7f7badf97000-7f7badf99000 r--s 00000000 fd:02 3162774 /var/cache/fontconfig/cf88f444488d569f9535e4f0ee8ed9a1-le64.cache-3 +7f7badf99000-7f7badf9c000 r--s 00000000 fd:02 3162773 /var/cache/fontconfig/e3ead4b767b8819993a6fa3ae306afa9-le64.cache-3 +7f7badf9c000-7f7badfa3000 r--s 00000000 fd:02 3162764 /var/cache/fontconfig/18db0204b1f108dd01663673626fcd3d-le64.cache-3 +7f7badfa3000-7f7badfa7000 r--s 00000000 fd:02 3162772 /var/cache/fontconfig/f5da82313d22ae5bf5bc6e539d256292-le64.cache-3 +7f7badfa7000-7f7badfa8000 r--s 00000000 fd:02 3162771 /var/cache/fontconfig/3640555adad8a8f6978400293cfce7ab-le64.cache-3 +7f7badfa8000-7f7badfaf000 r--s 00000000 fd:02 2491669 /usr/lib64/gconv/gconv-modules.cache +7f7badfaf000-7f7badfb0000 rw-p 00000000 00:00 0 +7fff728be000-7fff728df000 rw-p 00000000 00:00 0 [stack] +7fff72993000-7fff72994000 r-xp 00000000 00:00 0 [vdso] +ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] diff --git a/tests/runtests/upload-filename/problem_dir/os_release b/tests/runtests/upload-filename/problem_dir/os_release new file mode 100644 index 0000000..cd4dc97 --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/os_release @@ -0,0 +1 @@ +Fedora release 15 (Lovelock) \ No newline at end of file diff --git a/tests/runtests/upload-filename/problem_dir/package b/tests/runtests/upload-filename/problem_dir/package new file mode 100644 index 0000000..2493f30 --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/package @@ -0,0 +1 @@ +rxvt-unicode-9.12-2.fc15 \ No newline at end of file diff --git a/tests/runtests/upload-filename/problem_dir/reason b/tests/runtests/upload-filename/problem_dir/reason new file mode 100644 index 0000000..9567b2b --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/reason @@ -0,0 +1 @@ +Process /usr/bin/urxvtd was killed by signal 11 (SIGSEGV) \ No newline at end of file diff --git a/tests/runtests/upload-filename/problem_dir/time b/tests/runtests/upload-filename/problem_dir/time new file mode 100644 index 0000000..79313c0 --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/time @@ -0,0 +1 @@ +1312184367 \ No newline at end of file diff --git a/tests/runtests/upload-filename/problem_dir/uid b/tests/runtests/upload-filename/problem_dir/uid new file mode 100644 index 0000000..99f9f07 --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/uid @@ -0,0 +1 @@ +502 \ No newline at end of file diff --git a/tests/runtests/upload-filename/problem_dir/username b/tests/runtests/upload-filename/problem_dir/username new file mode 100644 index 0000000..15d5dfe --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/username @@ -0,0 +1 @@ +rmarko diff --git a/tests/runtests/upload-filename/problem_dir/uuid b/tests/runtests/upload-filename/problem_dir/uuid new file mode 100644 index 0000000..15eb651 --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/uuid @@ -0,0 +1 @@ +b43d70450c44352de194f545a7d3841eb80b1ae5 \ No newline at end of file diff --git a/tests/runtests/upload-filename/problem_dir/var_log_messages b/tests/runtests/upload-filename/problem_dir/var_log_messages new file mode 100644 index 0000000..d0b9f8b --- /dev/null +++ b/tests/runtests/upload-filename/problem_dir/var_log_messages @@ -0,0 +1,2 @@ +Aug 1 09:39:27 fluffy kernel: [149820.130191] urxvtd[10303]: segfault at 56 ip 0000000000420240 sp 00007fff728dc680 error 4 in urxvtd[400000+114000] +Aug 1 09:39:28 fluffy abrt[19696]: saved core dump of pid 10303 (/usr/bin/urxvtd) to /var/spool/abrt/ccpp-2011-08-01-09:39:27-10303.new/coredump (5025792 bytes) diff --git a/tests/runtests/upload-filename/problem_dir/xsession_errors b/tests/runtests/upload-filename/problem_dir/xsession_errors new file mode 100644 index 0000000..e69de29 diff --git a/tests/runtests/upload-filename/runtest.sh b/tests/runtests/upload-filename/runtest.sh new file mode 100755 index 0000000..0b12e52 --- /dev/null +++ b/tests/runtests/upload-filename/runtest.sh @@ -0,0 +1,51 @@ +#!/bin/bash +# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# runtest.sh of upload-filename +# Description: Test reporter-upload's filename creation +# Author: Denys Vlasenko dvlasenk@redhat.com +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2011 Red Hat, Inc. All rights reserved. +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see http://www.gnu.org/licenses/. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +. /usr/share/beakerlib/beakerlib.sh +. ../aux/lib.sh + +TEST="upload-filename" +PACKAGE="abrt" + +rlJournalStart + rlPhaseStartSetup + TmpDir=$(mktemp -d) + cp -R -- problem_dir "$TmpDir" + pushd -- "$TmpDir" + rlPhaseEnd + + rlPhaseStartTest "ftp upload, filename set" + rlRun "reporter-upload -d problem_dir -u file://$TmpDir/" + rlAssertExists "$TmpDir/problem_dir.tar.gz" + rlPhaseEnd + + rlPhaseStartCleanup + popd + rm -rf -- "$TmpDir" + rlPhaseEnd + rlJournalPrintText +rlJournalEnd
crash-catcher@lists.fedorahosted.org