Displaying 20 results from an estimated 4000 matches similar to: "[Bug 1678] --link-dest doesn't create hard links on remote system."
2004 Aug 29
0
[Bug 1678] New: --link-dest doesn't create hard links on remote system.
https://bugzilla.samba.org/show_bug.cgi?id=1678
Summary: --link-dest doesn't create hard links on remote system.
Product: rsync
Version: 2.6.3
Platform: All
OS/Version: Linux
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy:
2013 Jan 08
2
rsync in conjunction with the --link-dest option does not output deleted files
Hi,
I want to use rsync to make daily backups using hard-links in this way:
rsync -av --delete --link-dest=../backup_old ./source/. ./backup_new
This works great, but the problem is, that rsync does not show correctly
what action it performs (-v option). It shows correctly all new and
changed files/folders, but it does not show files that were deleted.
This works only if I do not use the
2006 May 11
2
Problems with link-dest
Hello,
I want to use the link-dest feature. Changed files should not be written again
but only linked from existing location.
I execute rsync:
florian@horus ~/python $ rsync --relative --recursive -vv
"/home/florian/Desktop/back" "/home/florian/backupTest/2006-05-07"
building file list ...
done
created directory /home/florian/backupTest/2006-05-07
delta-transmission disabled
2005 Oct 12
2
Help with act_as_nested_set
Hi, I''m trying to get act_as_nested_set working, and I''m puzzled.
I googled the following
http://codefetch.com/cache?url=http://media.pragprog.com/titles/rails/code/r
ails-code.tgz
<http://codefetch.com/cache?url=http://media.pragprog.com/titles/rails/code/
rails-code.tgz&path=rails-code/ar/acts_as_nested_set.rb&lang=ruby&qy=ruby>
2006 Apr 24
3
TimeStamp conversion
Hi,
I''ve got a TimeStamp field in MySql and want to use the hour and minutes
in the value.
for example:
StartTime = Schedule.find(action2.ScheduleID).DateTimeStart.to_s
That returns "Mon Feb 20 08:00:00 Romance Standard Time 2006"
How do I get 08:00 returned ??
Thanks !
Steven.
--
Posted via http://www.ruby-forum.com/.
2001 Nov 21
1
Slow printing in batch?
For doumentation purposes I run a batch R program that does reshaping etc.
of data and finally prints things.
When I paste the code into an R-window everything runs in a few seconds,
but in Batch mode i get in the output file the result below.
Any clues why R uses 4 min to print a 1129\times 6 dataframe in batch mode?
The scrit I use to run R is:
c:\stat\r\%R_VERS%\bin\Rterm --no-restore
2007 Dec 21
5
Mocha and rails 2.0.2?
Folks-
With Rails 2.0.2, I''m seeing mocha failures where they did not fail
with Rails 2.0.1
test_set_to_process_fail_in_transaction(FileRecordTest):
NoMethodError: undefined method `ord'' for 63:Fixnum
/home/wolpert/svn/rubylms/vendor/plugins/mocha/lib/mocha/class_method.rb:45:in
`hidden_method''
2007 Jun 11
12
Mocking system/`
This drives me insane on a regular basis. How does one mock
system(''blah'') or `blah` ?
Adding expectations on Kernel doesn''t do it. Adding expectations on
Object just makes me sad:
Object.any_instance.expects(:system).with(''ls'')
# => #<Mock:0x12b584e>.system(''ls'') - expected calls: 0, actual calls: 1
And this really
2007 Feb 05
10
how does Mocha compare in terms of classical vs mock-based testing, and stubbing???
Hi guys,
I''ve just been reading Martin Fowler''s article re mock versus
stubbing<http://martinfowler.com/articles/mocksArentStubs.html>where
he compares traditional TDD testing techniques with mock based
testing. I''d be interested in comments from a ruby on rails perspective in
terms of this and Mocha? For example:
a) Do you see Mocha as a robust way to test Ruby
2006 Oct 25
5
Mocha, Stubba and RSpec
Hi,
I''ve been reading with interest the threads trying to integrate Mocha
and Stubba with RSpec. So far, I''ve made the two changes in
spec_helper.rb suggested, but discovered another one that neither of
the archives mentions:
If you use traditional mocking: object = mock or the stub shortcut
: object = stub(:method => :result), you run into namespace conflicts
with
2007 Mar 12
10
using mocha with rspec
Hi folks.
I''ve just started using rspec and I have to say it''s very nice. The
thing is, I prefer mocha''s mocking dialect. So I thought a simple
require ''mocha'' would set me up.
Unfortunately, rspec does all its goodness using do/end blocks in
anonymous classes, so it wasn''t quite that obvious.
Anyway, here is the incantation I ended up
2006 Sep 08
1
A quick guide to Mocha
Hello :)
Having just gone through the (admittedly simple) API of Mocha to learn
how it works, I wrote a quick guide (190 lines) to help others get up to
speed. I''ve attached it as RDOC and as HTML.
It is a first draft - please help me improve by giving feedback !
Contents :
Overview - Quick overview of Mocha
Unit testing, mock object and stubs - Very quick introduction to mock
2009 Jun 13
2
removing Mocha; 'spec spec' fails but the specific model file passes
I happened to mix ryan bates'' authentication scaffold with
rspec_scaffold on a demo project.
and ran into the problem of mixing mock frameworks...ryan uses mocha.
So, as a learning experience, I choose to redo ryan''s tests without
mocha but ran into a strange problem with tests of the User model.
With debugging you can see....
If you run just the user_spec.rb file, everything
2010 Nov 12
2
pending tests fail when I switch to mock_with :mocha
First of all, please direct me into how better to search existing threads in
this mailing list.
Ok to my rspec 2.0.1 mocha 0.9.8 issue:
given a controller test
before do
subject.expects(:authenticate).once
end
it "should bla bla" do
pending "PENDING, shouldn''t fail?"
end
with
config.mock_with :rspec
it''s ok: pending, but with
2007 Jan 02
4
allow stubbing of previously defined methods such as "id"
On my current project I needed to create a stub that responded
correctly to the id message. Here''s the change I put into my copy of
head.
Index: lib/mocha/mock_methods.rb
===================================================================
--- lib/mocha/mock_methods.rb (revision 1114)
+++ lib/mocha/mock_methods.rb (working copy)
@@ -68,6 +68,7 @@
method_names =
2007 May 07
6
mock frameworks
Just curious - now that rspec (as of 0.9) let''s you choose your mock
framework, how many of you are actually using (or planning to use)
mocha or flexmock?
Anybody planning to use any other mock framework besides rspec, mocha
or flexmock?
Thanks,
David
2006 Dec 15
3
how to install from svn?
When trying to run Chris samples I get error:
/usr/lib/ruby/gems/1.8/gems/mocha-0.3.2/lib/smart_test_case.rb:3:
uninitialized constant Test (NameError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require''
from /usr/lib/ruby/gems/1.8/gems/mocha-0.3.2/lib/mocha.rb:1
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:33:in
2001 Nov 21
3
smbpasswd -r pdd not working
Hi,
I am running Samba 2.2.1 on a Redhat 7.2 machine and have the following
in smb.conf:
workgroup = AGS_NT
security = domain
password server = mocha bigblue
encrypt passwords = yes
everything else is default. "mocha" is the PDC and is a NT4 box".
The machine has joined the domain with "smbpasswd -j AGS_NT".
When using "smbpasswd
2007 Jul 24
3
mocha tarballs don''t uncompress cleanly
Hi Antonio,
My environment is OS X 10.4.8.
Thanks a lot for looking into the problem. Please let me know if I
can do anything to help.
I have had problems previously with tar including Mac resource fork
files. Could this be what is causing your problem?
James.
On 24 Jul 2007, at 20:42, Antonio Terceiro wrote:
> Hi James,
>
> First of all, thanks for mocha, it''s a really
2006 Sep 11
4
Using rspec and mocha
I prefer to use rspec than test::unit for developing my apps. However
I''ve found its mocking library to be pretty inflexible compared to
Mocha. This isn''t really a surprise since rspec isn''t intended as a
mocking framework, whereas Mocha is. So I''d like to play to both of
their strengths and use rspec as my testing/specification framework
and Mocha do to