Displaying 6 results from an estimated 6 matches for "testlink".
Did you mean:
testink
2016 Feb 29
3
Sys.readlink (on BSD vs Linux)
Hello,
sorry for not being clear enough.
My problem is represented with the following code, running on OSX:
mkdir ~/test
ln -s ~/test ~/testlink
touch ~/test/foo
Rscript -e 'Sys.readlink(c("~/test/foo", "~/testlink/foo")); normalizePath(c("~/test/foo","~/testlink/foo"))'
I expected `Sys.readlink` to show the same output as `normalizePath`.
Also, I think the readlink.h imported to R to be the...
2016 Feb 29
0
Sys.readlink (on BSD vs Linux)
> On Feb 29, 2016, at 5:59 AM, Sven Templer <sven.templer at gmail.com> wrote:
>
> Hello,
>
> sorry for not being clear enough.
>
> My problem is represented with the following code, running on OSX:
>
> mkdir ~/test
> ln -s ~/test ~/testlink
> touch ~/test/foo
> Rscript -e 'Sys.readlink(c("~/test/foo", "~/testlink/foo")); normalizePath(c("~/test/foo","~/testlink/foo"))'
>
> I expected `Sys.readlink` to show the same output as `normalizePath`.
Why? To quote from the Sys.read...
2002 Apr 08
0
portable tests for symlinks (was patch for autoconf manual)
...problem is better
than nothing.
Basically, we ended up using this code, in
<http://cvs.samba.org/cgi-bin/cvsweb/rsync/testsuite/rsync.fns?rev=1.49&content-type=text/x-cvsweb-markup>
# Determine what shell command will appropriately test for links.
ln -s foo "$scratchdir/testlink"
for cmd in test /bin/test /usr/bin/test /usr/ucb/bin/test /usr/ucb/test
do
for switch in -h -L
do
if $cmd $switch "$scratchdir/testlink" 2>/dev/null
then
# how nice
TEST_SYMLINK_CMD="$cmd $switch"
# i w...
2011 Jul 27
20
Rails, jquery and Ajax
How do I make an ajax call and then update a div with a partial? I''ve
tried this but it''s not working. Comment is created but the partial is
not loaded.
//view
<a href="#" id="testlink">Testlink</a>
<div id="commentlist">
</div>
//controller
def new
@comment = Comment.new
@comment.save
respond_to do |format|
format.html { }
format.js { }
end
end
//js
$(function() {
$(''#te...
2005 Jan 04
1
msdfs: links to shares not visible/accessible in dfs root
...al]
...
netbios name = fileserver
host msdfs = yes
[dfs]
path = /home/data/shares/postdfs
valid users = @post
force group = +post
read only = No
force create mode = 0770
browseable = Yes
msdfs root = Yes
an ls -/home/data/shares/postdfs looks like this:
lrwxrwxrwx 1 root root 19 4. Jan 10:44 testlink -> msdfs:pc030\install
(post stands for post production)
I can access \\pc030\install manually and the permissions seem to
be correct. However, none of the clients see anything when I connect to
the \\fileserver\postdfs share. The folder just appears empty. I've set
the log level to 10 and...
2016 Feb 29
2
Sys.readlink (on BSD vs Linux)
Hello together,
the function `Sys.readlink` uses the system's readlink command to resolve symlink paths. On OSX/BSD the command has a different meaning than on Linux [1].
There exists the tool 'realpath', which seems suitable for the task, at least applied at the command line level [2]. It is used in `normalizePath`.
I suggest (at least the latter) to
* use realpath instead readlink