Skip to content

Instantly share code, notes, and snippets.

View ricardo-martincoski's full-sized avatar

Ricardo Martincoski ricardo-martincoski

View GitHub Profile
@ricardo-martincoski
ricardo-martincoski / patch 1 git robust
Last active April 19, 2018 02:23
git robust v1 tests
I tested using 3 docker images: buildroot/base that has git 2.11.0, base+git 1.8.3, and base+git 1.7.1.
I choose dt-utils as its version is a tag, so it does not trigger the problem with git<1.9.0 fixed by patch 4.
Create an empty dir in the place of git cache and download:
$ mkdir -p dl/dt-utils/git
$ make defconfig
$ rm -rf dl/dt-utils/*.tar.gz && make dt-utils-dirclean dt-utils-source
Using current master 56823d6:
git 1.7.1:
$ mount -t debugfs none /sys/kernel/debug
$ echo h > /proc/sysrq-trigger
$ echo 8 > /proc/sysrq-trigger
$ echo 'file ping.c line 994 +p' >/sys/kernel/debug/dynamic_debug/control
$ dmesg -c
$ ping -c 1 localhost
no socket, dropping
$ echo 'file ping.c +p' >/sys/kernel/debug/dynamic_debug/control
$ dmesg -c
$ ping -c 1 localhost
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GStreamer Base Plug-ins configure 0.10.36, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --target=i586-buildroot-linux-gnu --host=i586-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-static --enable-shared --disable-examples --disable-oggtest --disable-vorbistest --disable-freetypetest --disable-x --disable-xshm --disable-xvideo --disable-alsa --disable-adder --disable-app --enable-audioconvert --disable-audiorate --enable-audioresample --disable-audiotestsrc --disable-encoding --enable-ffmpegcolorspace --disable-gdp --enable-playback --disable-subparse --disable