Displaying 20 results from an estimated 80 matches for "test_file".
2006 May 31
3
Cannot delete files from samba share
...ation are given below
UNIX OS: Solaris 8, Solaris 9
PDC: Windows 2003
If anyone has any suggestions as to how this issue can be resolved, I
would be grateful to hear from them
cheers
Neil
#!/bin/ksh
# TEST_DIR = UNIX directory being shared out ( The 'samba dir')
TEST_DIR=/smb_debug
# TEST_FILE = file used to demonstrate the problem
export TEST_FILE=${TEST_DIR}/test
# SMB_CONF = path to smb.conf
SMB_CONF=/path/to/your/smb.conf
# SHARENAME = the name for the samba share
SHARENAME=neil
# GROUP = the group ownership on the 'samba dir'. Membership of this
group
# should permit file...
2004 Sep 10
4
1.0 source candidate
--- Matt Zimmerman <mdz@debian.org> wrote:
> On Fri, Jul 20, 2001 at 05:15:21PM -0700, Josh Coalson wrote:
>
> > I rethought it and it seemed like a bad idea to post
> > a big file, so you can get it here:
> >
> >
>
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/flac/junk/flac-1.0-src-candidate.tar.bz2
>
> With the attached patch, a complete
2010 Mar 13
1
Testing file upload (Sinatra, RSpec, Rack-Test)
Hi.
I have a simple application and I want to add a file upload
functionality. How can I write a spec?
Here''s my try.
# directory structure
app:
- controller.rb
- controller.spec.rb
- files: []
- fixtures: [test_file.png]
# controller.spec.rb
require ''rack/test''
require ''controller''
module MyHelpers
def app
Sinatra::Application
end
end
Spec::Runner.configure do |conf|
conf.include Rack::Test::Methods
conf.include MyHelpers
end
describe ''Application''...
2019 Jul 25
0
NFS4 extended attributes confusion
...tp://rsync.samba.org/
Capabilities:
??? 64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
??? socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
??? append, ACLs, xattrs, iconv, symtimes, prealloc
...
# nfs4_setfacl -a A::root at localhost:rwaxtcy
/tmp/nfs_test_mountpoint/test_file
# nfs4_setfacl -a A::testuser at localhost:rwaxtcy
/tmp/nfs_test_mountpoint/test_file
# nfs4_getfacl /tmp/nfs_test_mountpoint/test_file
# file: /tmp/nfs_test_mountpoint/test_file
D::OWNER@:x
A::OWNER@:rwatTcCy
A::0:rwaxtcy?? <---------------
A::1000:rwaxtcy? <--------------
A::GROUP@:rwatc...
2002 Jun 10
0
Filesystem Permission problems
HI,
I would like to copy my file, i.e. test_file.cc on 1 host machine into
another user's home directory i.e /usr/adm/ken_lee/
, on a different host machine. These 2 hosts machines, i.e host1 and host2
are on different NIS domains.
I tried copying my file into the other user's home directory, by invoking
the rsync command on my host mac...
2013 Aug 07
1
FIEMAP problem
Hi,
We are trying to use OCFS2 as VM storage. After running into problems with
qemu's disk_mirror feature we now think there could be a problem with the
FIEMAP ioctl in OCFS2.
As far as I understand the situation looks like this:
Qemu inquiries the FS if the given section of the image is already allocated
via the FIEMAP ioctl [1]
It especially checks if fm_mapped_extents is greater 0.
2011 Sep 16
2
[LLVMdev] How to duplicate a function?
...ra #-fvisibility=hidden
CFLAGS+=$(COMMON_FLAGS) $(shell $(LLVM_CONFIG) --cflags)
CXXFLAGS+=$(COMMON_FLAGS) $(shell $(LLVM_CONFIG) --cxxflags)
#ifeq ($(shell uname),Darwin)
#LOADABLE_MODULE_OPTIONS=-bundle -undefined dynamic_lookup
#else
LOADABLE_MODULE_OPTIONS=-shared -Wl,-O1
#endif
TEST_C=test.c
TEST_FILE=$(subst .c,.s, $(TEST_C))
PLUGIN=duplicateFunction.so
PLUGIN_OBJECTS=duplicateFunction.o
ALL_OBJECTS=$(PLUGIN_OBJECTS)
ALL_TARGETS=$(PLUGIN) $(TEST_FILE)
CPP_OPTIONS+=$(CPPFLAGS) $(shell $(LLVM_CONFIG) --cppflags) -MD -MP
-I$(SRC_DIR)
LD_OPTIONS+=$(LDFLAGS) $(shell $(LLVM_CONFIG) --ldflags)
all...
2011 Jun 14
3
Read in from multiple Excel wksheets
...eracting
with Excel but I?d rather manipulate a multisheet workbook directly
than set about splitting the original workbook and saving down each
part as a csv.
So far, I?ve tried using read.xlsx from the xlsx package. This works
fine for small test files ? e.g. suppose I?m trying to read from the
test_file workbook on my desktop. The following code extracts rows 1
and 2 from worksheet = ?johnny?.
setwd("C:\\Documents and Settings\\dmenezes\\Desktop")
info<-
read.xlsx("test_file.xlsx",sheetName="johnny",rowIndex=1:2,header=FALSE)
info
However, when I try to apply th...
2005 Feb 17
1
REPOST: smbcacls question
Since I never received a reply, I am reposting this earlier post:
I am trying to run the following command and keep getting the same
error. My question is is there a problem with my command or is this
possibly an issue with Samba
smbcacls -d test_file -A ACL:DOMAIN\username:ALLOWED/0/CHANGE -U username
Here is the error:
debug_parse_params: unrecognized debug class name or format [test_file]
ERROR: Unable to open credentials file!
Any suggestions are welcome.
Thanks.
Jeff
2007 Jan 30
1
Cannot preserve uids and gids with AIX 5.3 w/rsync 2.6.2
...Also dropped flag --numeric-ids when running....
Here is my test config---
# Simple test config file
log file = /tmp/rsync.log
[test]
use chroot = no
path = /tmp/rsync_test/
read only = false
hosts allow = test_box*
Remember, have use chroot set to no and false
If I just use a simple rsync test_file test_box::test_module
no problems. Of course owner is nobody:nobody
(Changing UID and GID param in rsyncd.conf does work)
However, if I ever attempt to add a flag to preserve permissions, like:
rsync -a test_file test_box::test_module
these are the errors:
CLIENT
rsync: writefd_unbuffered faile...
2008 May 16
2
shell script strangeness...
On my CentOS 4.6 server, this works...
if [ -z `grep entry_chooser.js /var/log/httpd/access_log` ]
On my CentOS 5.1 server, this gives me the following error...
./test_file.scr: line 3: [: too many arguments
Can anyone explain why the difference and suggest something that makes
both cases happy?
Thanks
Craig
2004 Nov 04
4
Attempt to build a gemspec
...autorequire = "win32/ipc"
s.has_rdoc = true
s.extra_rdoc_files = ["README","CHANGES"]
opts = ''-S --title A base class for Win32 synchronization objects.''
opts << '' --main README''
s.rdoc_options = opts
s.test_files = Dir.glob("test/tc_*.rb")
s.author = "Daniel J. Berger"
s.email = "djberg96@yahoo.com"
s.homepage = "http://www.rubyforge.org/projects/win32utils"
end
if $0 == __FILE__
Gem.manage_gems
Gem::Builder.new(spec).build
end
It seems to bui...
2014 Aug 26
1
Call for testing: OpenSSH 6.7
Good news/Bad News
The test race in RHEL 3.4 seems to be gone ... but another ec.h failure ...
Using http://www.mindrot.org/openssh_snap/openssh-SNAP-20140827.tar.gz
OS Build_Target CC
OpenSSL BUILD TEST
============== =========================== ================
============= ====== =================
*RHEL 3.4 i386-redhat-linux gcc
2006 Oct 15
3
open(2) O_DIRECT on smbmount gives EINVAL
...12
#define ALIGN_NUM(val, mult) (((val) + ((mult) - 1)) & ~(((mult) - 1)))
#define ALIGN_PTR(ptr, mult) (void *)ALIGN_NUM((uintptr_t)(ptr), mult)
#define DECL_ALIGNED_BUFFER(name, size) \
char __##name[(size) + SECTORSIZE]; \
char *name = (char *)ALIGN_PTR(__##name, SECTORSIZE)
#define TEST_FILE "test.txt"
int main(void)
{
int fd;
int len = SECTORSIZE;
DECL_ALIGNED_BUFFER(buf, len);
unlink(TEST_FILE);
errno = 0;
// smb fails here
fd = open(TEST_FILE, O_WRONLY|O_CREAT|O_EXCL|O_DIRECT, 0777);
if(fd == -1)
{
perror("open");
return 1;...
2004 Sep 10
2
Enable the 3dnow function?
...riable `TESTS_ENVIRONMENT' references itself (eventually). Stop.
make[3]: Leaving directory `/home/lichvarm/tmp/flac/flac-test/test'
make[2]: *** [check-am] Error 2
...
So i ran "make -f Makefile.lite release" in test directory. All have
passed (except test_bins.sh, there was no test_files/bins/ directory).
And it took 6 hours of CPU time, it is really exhaustive :).
--
Miroslav Lichvar
2013 Sep 29
9
DomU vs Dom0 performance.
...dom0.
experiment 1]
1. Created a file.img of 5G
2. Mounted the file with ext2 filesystem.
3. Ran sysbench with following command.
sysbench --num-threads=8 --test=fileio --file-total-size=1G
--max-requests=1000000 prepare
4. Read files into memory
script to read files
<snip>
for i in `ls test_file.*`
do
sudo dd if=./$i of=/dev/zero
done
</snip>
5. Ran sysbench.
sysbench --num-threads=8 --test=fileio --file-total-size=1G
--max-requests=5000000 --file-test-mode=rndrd run
the output i got on dom0 is
<output>
Number of threads: 8
Extra file open flags: 0
128 files, 8Mb each
1...
2010 Oct 31
0
Loading xml document using Nokogiri and retrieving CDATA element
...s with REXML) which has me
looking to Nokogiri again. The reason I am not using Nokogiri is I can not
seem to find a way to get CDATA out of a Nokogiri document.
First, can you tell me if I am loading my document correctly, because when I
call my_document.to_xml, I only get one line back:
(rdb:1) test_file = Nokogiri::XML(mismo_xml_file)
#<Nokogiri::XML::Document:0x5dd22 name="document">
(rdb:1) test_file.to_xml
"<?xml version=\"1.0\"?>\n"
So maybe this is the first step and if I get the full doc to load, my cdata
will be there?!!
Alternatively, if you have...
2007 Jul 26
1
autotest loosing RAILS_ROOT Constant?
...find it.
Basically, AUTOTEST will run (RSpec mode), fine, then suddenly, will
complain that RAILS_ROOT is undefined.
Then I stop and restart it, with no code change... no problem.
It happens on different specs where I use RAILS_ROOT like so:
@file = open("#{RAILS_ROOT}/spec/fixtures/files/test_file.txt", "r") {
|f| f.read}
All the specs that error are just like that. They are nothing
special, read a file, send it to a method, get the result,
result.should == file
This is what it looks like in my console:
===================================
1)
NameError in ''ListToC...
2010 Oct 27
1
Compiling libvirt-0.8.4 for NFSv4
...OL_NETFS_LAST,
"auto", "nfs", "nfs4", "glusterfs", "cifs")
Compiled libvirt and then created storage pool xml:
<pool type="netfs">
<name>pool2</name>
<source>
<host name="test_filer"/>
<dir path="/libvirt"/>
<format type="nfs4"/>
</source>
<target>
<path>"/usr/local/var/lib/libvirt/images/nfsds2"</path>
</target>
</pool>
'Virsh pool-create [above xml]'...
2005 Feb 01
3
FLAC 1.1.2-beta: attn package maintainers
The FLAC 1.1.2 release candidate is now available at
http://prdownloads.sourceforge.net/flac/flac-1.1.2-beta.tar.gz?download
Only the source tarball is available. I am putting out the beta
first so that package maintainers and others can smoke test the
build/install/check process before the official one goes out,
since we've had problems before. Everyone that can, please
download and try: