search for: testprog

Displaying 17 results from an estimated 17 matches for "testprog".

2020 Jul 21
0
Errors observing when talloc-2.3.1 is cross compiled
...f1972132b1b06dc8dfdcac62686566/testbuild/default/test.c.1.o', '-I/projects/cpss4.2.2019.2/Marvell_toolchain_201201/armv7-marvell-linux-gnueabi-softfp_i686/arm-marvell-linux-gnueabi/libc/usr/include/'] [2/3] Linking ^[[33mbin/.conf_check_79f1972132b1b06dc8dfdcac62686566/testbuild/default/testprog^[[0m ['arm-marvell-linux-gnueabi-gcc', 'test.c.1.o', '-o', '/home/balaram/MOXA/talloc-2.3.1/bin/.conf_check_79f1972132b1b06dc8dfdcac62686566/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing ^[[35mbin/.conf_check_79f19721...
2015 Jun 23
2
[PATCH] daemon: Rewrite prog_exists so it uses the actual PATH, not hard-coded list.
...H"); + + if (!pathc) + return 0; + + const char *elem; + char *saveptr; + size_t len = strlen (pathc) + 1; + char path[len]; + strcpy (path, pathc); + + elem = strtok_r (path, ":", &saveptr); + while (elem) { + size_t n = strlen (elem) + strlen (prog) + 2; + char testprog[n]; + + snprintf (testprog, n, "%s/%s", elem, prog); + if (access (testprog, X_OK) == 0) return 1; + + elem = strtok_r (NULL, ":", &saveptr); } + + /* Not found. */ return 0; } -- 2.3.1
2015 Jun 23
0
Re: [PATCH] daemon: Rewrite prog_exists so it uses the actual PATH, not hard-coded list.
...const char *elem; > + char *saveptr; > + size_t len = strlen (pathc) + 1; > + char path[len]; > + strcpy (path, pathc); > + > + elem = strtok_r (path, ":", &saveptr); > + while (elem) { > + size_t n = strlen (elem) + strlen (prog) + 2; > + char testprog[n]; > + > + snprintf (testprog, n, "%s/%s", elem, prog); > + if (access (testprog, X_OK) == 0) > return 1; > + > + elem = strtok_r (NULL, ":", &saveptr); > } > + > + /* Not found. */ > return 0; > } LGTM. The only mi...
2011 Jul 29
0
Speeding up Windows upload script
...-------------------------------------------------------------- #!/bin/bash - # Note: replace /dev/sda2 with the C:\ drive guestfish -a /tmp/win.qcow2 -m /dev/sda2 <<'EOF' copy-in /tmp/driver.sys win:/windows/system32/ copy-in /tmp/driver.inf win:/windows/system32/ -rm-rf win:/Temp/testprogs -mkdir win:/Temp copy-in /tmp/testprogs win:/Temp/ EOF ---------------------------------------------------------------------- I tested this by doing: $ qemu-img create -f qcow2 -o backing_file=/dev/vg_pin/Win7x32 win.qcow2 Formatting 'win.qcow2', fmt=qcow2 size=21474836480 backing_file=...
2012 Sep 02
1
Cross Compile Samba4
...'-I/usr/local/include', '-I/usr/include/python2.6', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o'] [2/2] Linking ^[[33mdefault/testprog^[[0m /home/ulmer/optware/builddir/ddwrt/toolchain/mipsel-linux-uclibc/gcc-4.1.1-uclibc-0.9.28/lib/gcc/mipsel-linux-uclibc/4.1.1/../../../../mipsel-linux-uclibc/bin/ld: unrecognized option '-Bsymbolic-functions' /home/ulmer/optware/builddir/ddwrt/toolchain/mipsel-linux-uclibc/gcc-4.1.1-ucli...
2007 Feb 19
10
[Bug 1272] Unable to make OpenSSH with undefined refs in readconf.o
http://bugzilla.mindrot.org/show_bug.cgi?id=1272 ------- Comment #9 from dtucker at zip.com.au 2007-02-19 23:22 ------- Another thought: do you have multiple instances of libgcc? Perhaps one in /usr/local/lib and one elsewhere? ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
2015 Feb 11
0
Samba 4.2.0rc4 fails to start up
.....', '-Idefault', '-I..', '-I/usr/local/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o'] [2/2] Linking default/testprog ['/opt/local/bin/gcc', 'default/test_1.o', '-o', '/home/projects/tools/samba/samba-4.2.0rc4.i386gcc.pt/bin/.conf_check_0/testbuild/default/testprog', '-R/opt/local/samba4/lib:/opt/local/samba4/lib/private:/opt/local/lib', '-L/opt/local/lib', '-lic...
2017 Jan 12
3
[PATCH 0/3] library: improve handling of external tools
Hi, the libguestfs library uses a number of external tools; for some of them, we search for them at build time, enabling some feature only if found, and later on assuming at runtime they are installed. However, the situation is more complex than that: - hardcoding the full path means that there is an incoherency in the way some of the tools are used, as some other tools (e.g. qemu-img) are
2017 Feb 02
4
[PATCH v2 0/3] library: improve handling of external tools
Hi, the libguestfs library uses a number of external tools; for some of them, we search for them at build time, enabling some feature only if found, and later on assuming at runtime they are installed. However, the situation is more complex than that: - hardcoding the full path means that there is an incoherency in the way some of the tools are used, as some other tools (e.g. qemu-img) are
2014 Jun 21
1
broken samba-4.1.8 waf configure
...: 21:53:04 runner /usr/bin/gcc -MD -I/usr/local/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 ../test.c -c -o default/test_1.o 21:53:04 runner /usr/bin/gcc default/test_1.o -o /scratch01/gigo.d1/gigo.d/samba-4.1.7/bin/.conf_check_0/testbuild/default/testprog -fstack-protector -Wl,-no-undefined -L/usr/local/lib -Wl,-Bdynamic -lk5crypto not found i find it peculiar that the gssapi/gssapi_krb5.h test used the proper -I flag, but the k5crypto test included NEITHER the proper -I flag nor the -L flag. nor did it find -lk5crypto in the location indicated by...
2014 May 31
0
broken samba-4.1.7 waf configure
...: 21:53:04 runner /usr/bin/gcc -MD -I/usr/local/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 ../test.c -c -o default/test_1.o 21:53:04 runner /usr/bin/gcc default/test_1.o -o /scratch01/gigo.d1/gigo.d/samba-4.1.7/bin/.conf_check_0/testbuild/default/testprog -fstack-protector -Wl,-no-undefined -L/usr/local/lib -Wl,-Bdynamic -lk5crypto not found i find it peculiar that the gssapi/gssapi_krb5.h test used the proper -I flag, but the k5crypto test included NEITHER the proper -I flag nor the -L flag. nor did it find -lk5crypto in the location indicated by...
2012 Jul 02
1
Samba 4 & Smart card logon
Hello list, I have installed and configured a domain with Samba version 4.0.0beta2-GIT-7e80b89 on a CentOS 6.2 I can successfully join a Windows PC in the domain (both Windows XP and Windows 7 tested) Now, I am trying to move a step forward and I would like to configure Samba to accept Windows smart card logon This is a requirement for a project I am involved to I have already installed the
2020 Nov 01
0
4.13.1 make test failed
...3.1 ? ./configure run without error Make run without error Make Check Failed Debian 10.6 Also all required Packages are installed -- # cat summary = Failed tests = == samba4.blackbox.demote-saveddb == command: PYTHON=python3 /usr/src/samba-4.13.1/testprogs/blackbox/demote-saveddb.sh $PREFIX_ABS/demote --configfile=$SMB_CONF_PATH 2>&1 | python3 /usr/src/samba-4.13.1/selftest/filter-subunit --fail-on-empty --prefix="samba4.blackbox.demote-saveddb." --suffix="(none)" expanded command: PYTHON=python3 /usr/src/samba-4.13.1/te...
2016 Mar 06
8
[PATCH 0/5] Use less stack.
Various changes/fixes to use smaller stack frames. Rich.
2017 Aug 03
9
[PATCH 0/6] tests: Fix handling of device API parameters (RHBZ#1477623).
https://bugzilla.redhat.com/show_bug.cgi?id=1477623 The first two patches are cleanups. The third patch changes the way that we handle Device and Dev_or_Path parameters so that a parameter marked as such can really only contain a block device name (and not, for instance, a chardev). Using a chardev here caused hangs in the API. The next two patches fix API usage to conform to this new stricter
2019 Apr 01
5
selftest
Thanks for the reply, Besides the problem with source4/lib/messaging/messaging_handlers.c, Good to hear that selftest is actively used, then do I understand it right that 'make test' should succeed? My bigger problem is that it failed with lots of errors. This must be a problem with my build, then, but since this is a fresh tarball I am a bit puzzled. I would appreciate some hint on
2011 Jun 02
48
[PATCH 0/9] libxl: disk configuration handling
This is v3 of my disk series. What were previously patches 01-06 have been applied. These are the tested and updated remainder, addressing the previous comments. 1 Preparatory work. 2-4 The new parser and its documentation. 5-6 Replace old parsers with calls to the new one. 7-8 Two features, one of them essential. 9 Basic test suite for disk string parsing, as adhoc script.