search for: eof

Displaying 20 results from an estimated 3108 matches for "eof".

Did you mean: elf
2019 Apr 30
3
HERE document in docker script file
I am trying to use a HERE document in a docker script file to generate a text file but must be doing something wrong since I get a warning message that I did not expect: EOF: line 6: warning: here-document at line 0 delimited by end-of-file (wanted `EOF') This is the sample script I am testing in my docker file: RUN bash -c "$(/bin/echo -e "cat << 'EOF' | tee -a /test.txt \ ??? \n<test> \ ??? \n? someting here \ ??? \n? something els...
2007 Jul 25
2
Is FLAC__stream_decoder_seek_absolute working for OggFlac?
...stream is triggering. Ok, running the command: src/test_seeking/test_seeking flac_char.ogg resulted in: +++ seek test: FLAC__StreamDecoder (Ogg FLAC, read_mode=0) file's total_samples is 0 Begin seek barrage, count=0 #0:seek(0)... seek failed, assuming it was past EOF... OK #1:seek(1)... seek failed, assuming it was past EOF... OK #2:seek(2)... seek failed, assuming it was past EOF... OK #3:seek(3)... seek failed, assuming it was past EOF... OK #4:seek(4)... seek failed, assuming it was past EOF... OK #5:seek(5)... seek failed, assuming it wa...
2019 May 01
1
HERE document in docker script file
...> On Tue, Apr 30, 2019 at 4:44 AM H <agents at meddatainc.com> wrote: > >> I am trying to use a HERE document in a docker script file to generate a >> text file but must be doing something wrong since I get a warning message >> that I did not expect: >> >> EOF: line 6: warning: here-document at line 0 delimited by end-of-file >> (wanted `EOF') >> >> This is the sample script I am testing in my docker file: >> >> RUN bash -c "$(/bin/echo -e "cat << 'EOF' | tee -a /test.txt \ >> \n<test...
2017 Oct 13
4
Why dup()?
On 12/10/17 12:54, Clark Wang wrote: > How did you hit the problem? "ssh host echo hello | cat" works fine > for me. That's because ssh exited, not because of EOF. Consider the following: ?? ssh localhost 'exec cat > /dev/null' | { read l; echo ${l:-EOF}; } One should see "EOF" immediately (for values of immediate that include startup latency), but that's not what happens. I did have a better example.? When ssh was run with deb...
2002 Nov 22
2
Add -D_XOPEN_SOURCE_EXTENDED definition for HP/UX 11.00 platform
Hi, I suggest to add the following definition to configure and its template configure.in to allow samba-2.2.x to be compiled on HP/UX 11.00 with some lesser warnings. Without this definition you'll get warnings on all socket operation because the socket operations are UNIX98 specific and HP/UX 11.00 will support this when _XOPEN_SOURCE_EXTENDED is defined. -- Ren? Nieuwenhuizen Afdeling
2017 Feb 21
4
Problems with my simple write conf files method
I have been creating conf files and similar with the following method that I picked up (I think from psotfix docs): cat <<EOF>>/etc/aliases || exit 1 root: youremail EOF See: http://medon.htt-consult.com/Centos7-armv7.html But with postfixadmin I stumbled onto a problem. The following: cat <<EOF>/usr/share/postfixadmin/config.local.php || exit 1 <?php $CONF['database_type'] = 'mysqli'...
2000 Oct 04
0
2.2.0p1 chroot patch
...r ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:707: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -712,12 +714,12 @@ cat > conftest.$ac_ext << EOF -#line 716 "configure" +#line 718 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configur...
2000 Aug 26
0
New chroot patch, for 2.1.1p4
...r ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:707: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -712,12 +714,12 @@ cat > conftest.$ac_ext << EOF -#line 716 "configure" +#line 718 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configur...
2016 May 19
0
[PATCH 1/3] tests: specify the image format when possible
...b/diff/test-virt-diff.sh index d158043..5a63515 100755 --- a/diff/test-virt-diff.sh +++ b/diff/test-virt-diff.sh @@ -36,12 +36,12 @@ guestfish -- \ disk-create fedora.qcow2 qcow2 -1 \ backingfile:../test-data/phony-guests/fedora.img backingformat:raw -guestfish -a fedora.qcow2 -i <<EOF +guestfish --format=qcow2 -a fedora.qcow2 -i <<EOF touch /diff write-append /etc/motd "Testing virt-diff\n" EOF -output="$($VG virt-diff -a ../test-data/phony-guests/fedora.img -A fedora.qcow2)" +output="$($VG virt-diff --format=raw -a ../test-data/phony-guests/f...
2015 Nov 05
1
[PATCH 1/2] test-data: phony-guests: Don't use *.tmp.* temporary files.
...git a/test-data/phony-guests/make-archlinux-img.sh b/test-data/phony-guests/make-archlinux-img.sh index 5c848d2..066df09 100755 --- a/test-data/phony-guests/make-archlinux-img.sh +++ b/test-data/phony-guests/make-archlinux-img.sh @@ -23,7 +23,7 @@ set -e # Create a disk image. guestfish <<EOF -sparse archlinux.img.tmp.$$ 512M +sparse archlinux.img-t 512M run # Format the disk. @@ -55,4 +55,4 @@ mkdir /boot/grub touch /boot/grub/grub.conf EOF -mv archlinux.img.tmp.$$ archlinux.img +mv archlinux.img-t archlinux.img diff --git a/test-data/phony-guests/make-coreos-img.sh b/test-data...
2005 Dec 15
0
Problems with snow and rpvm
...tat powerpclinux mstat powerpclinux powerpclinux ok pvm> mstat uffbsd mstat uffbsd uffbsd ok pvm> spawn -> hello spawn -> hello [13] 1 successful t80012 pvm> [13:t80012] i'm t80012 [13: t80012] from t80013: hello, world from powerpclinux [13:t80013] EOF [13: t80012] EOF [13] finished pvm> spawn -> master1 spawn -> master1 [11] 1 successful t8000e pvm> [11:t40013] EOF [11:t40014] EOF [11: t80011] EOF [11:t40012] EOF [11:t80010] EOF [11:t8000f] EOF [11:t8000e] Spawning 6 worker tasks ... SUCCESSFUL [11:t8000e] I got 100.000000 from...
2013 Oct 08
3
remote sudo script
...I notice that if I run the commands individually, they both work (albeit with some strange output I'd like to suppress): [tdunphy at MIAGRBISSH01V ~]$ ssh -q -t -t -t MIAGRBIORCA00V sudo -S 'cp -v /data/solr-4.3.1/zoe/etc/logback.xml /tmp/logback.xml-${i}-$(date +%Y%m%d).bak' <<EOF > secret_sauce > EOF tcgetattr: Inappropriate ioctl for device `/data/solr-4.3.1/zoe/etc/logback.xml' -> `/tmp/logback.xml--20131007.bak' [tdunphy at MIAGRBISSH01V ~]$ ssh -q -t -t -t MIAGRBIORCA00V sudo -S 'ls -l /home/tdunphy/logback.xml-${i}-$(date +%Y%m%d).bak' <&...
2003 Aug 24
2
wxRuby 0.1.0 Alpha has been released!
http://rubyforge.org/project/showfiles.php?group_id=35&release_id=46 The code itself has been quite stable for several weeks. This release includes Gour''s excellent MinGW README notes, along with various updates to the README, and clarification of the LICENSE. Thanks to everyone for your help in putting this together. It was definitely a team project. I look forward to getting lots
2019 Jan 22
0
[PATCH nbdkit v3 2/5] tests: Implement a better nbdkit-partition-filter test.
...-img convert -n $d/rand \$nbd" + nbdkit -f -v --filter=partition file $d/disk partition=$part \ + --run "qemu-img convert \$nbd $d/out" + truncate -s 512 $d/out + cmp $d/rand $d/out + fi + done +} + +test dos 1 <<'EOF' +2048 1023 L - +EOF + +test dos 2 <<'EOF' +2048 1023 L - +4096 4095 L - +EOF + +test dos 3 <<'EOF' +2048 1023 L - +4096 4095 L - +8192 8191 L - +EOF + +test dos 4 <<'EOF' +2048 1023 L - +4096 4095 L - +8192 8191 L - +16384 16383 L - +EOF + +test dos 6...
2000 Jan 19
3
AIX openssh patches
...r we have chached the name. */ if (canonical_host_ip != NULL) *************** *** 231,237 **** --- 250,260 ---- get_peer_port(int sock) { struct sockaddr_in from; + #ifdef _AIX + unsigned long fromlen; + #else int fromlen; + #endif /* Get IP address of client. */ fromlen = sizeof(from); *** channels.c.DIST Tue Jan 11 12:16:35 2000 --- channels.c Wed Jan 19 11:01:32 2000 *************** *** 374,380 **** channel_after_select(fd_set * readset, fd_set * writeset) { struct sockaddr addr; ! int addrlen, newsock, i, newch, len; Channel *ch; char buf[16384], *remote_h...
2017 Sep 08
5
EOF from net_disconnect(fd)
...he plugin reads the response then closes the socket and at that point, I?m running into an issue. The daemon reports the following: read unix /tmp/xapsd.sock->@: read: connection reset by peer In reading the Go language docs, it says that it will throw the first error it hits before the EOF from the socket. This led me to think that perhaps the plugin was not sending an EOF when closing the socket. I tried to write an EOF to the socket before the close but no change. Everything works between the plugin and daemon right up until the socket close. Is there a way to monitor the s...
2007 Sep 11
0
Is FLAC__stream_decoder_seek_absolute working for OggFlac?
...gt; > src/test_seeking/test_seeking flac_char.ogg > > resulted in: > > +++ seek test: FLAC__StreamDecoder (Ogg FLAC, read_mode=0) > > file's total_samples is 0 > Begin seek barrage, count=0 > #0:seek(0)... seek failed, assuming it was past EOF... OK > #1:seek(1)... seek failed, assuming it was past EOF... OK > #2:seek(2)... seek failed, assuming it was past EOF... OK > #3:seek(3)... seek failed, assuming it was past EOF... OK > #4:seek(4)... seek failed, assuming it was past EOF... OK > #5:seek(5)... se...
2017 Sep 08
1
EOF from net_disconnect(fd)
I'm not the originator. I'm just trying to do some maintenance on the code to make it work for CentOS 7. I'll check out those two. Any ideas on how to check exactly what's sent via the socket? If the EOF is sent, I know to dig further into the daemon code. Thanks, Steffan Cline steffan at hldns.com 602-793-0014 > On Sep 7, 2017, at 11:43 PM, Aki Tuomi <aki.tuomi at dovecot.fi> wrote: > > Hi! > > Nice to hear you are developing this, I'll add it to our wiki if it's...
2007 Jul 14
2
Is FLAC__stream_decoder_seek_absolute working for OggFlac?
Hi all, Is seeking working for OggFlac files? I keep on getting a FLAC__STREAM_DECODER_SEEK_ERROR. Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "Why do they protest against France for making it illegal to wear hijabs, but not against Saudi Arabia for making it illegal not to
2014 Sep 16
5
[PATCH 0/3] tests: Introduce test harness for running tests.
These are my thoughts on adding a test harness to run tests instead of using automake. The aim of this exercise is to allow us to run the full test suite on an installed copy of libguestfs. Another aim is to allow us to work around all the limitations and problems of automake. The first patch makes an observation that since the ./run script sets up $PATH to contain all the directories