search for: moredir

Displaying 5 results from an estimated 5 matches for "moredir".

Did you mean: moredirs
2008 Jun 18
0
Improper directory removal causes file system havoc (PR#11738)
...directory /tmp/R<random> cannot be deleted. The reason for the deletion failure is because the file system thinks that the directory is still full, as its link count is not 2 -- it is 5. The key bit of reg-tests-1.R is: dd <- c("dir1", "dir2", "dirs", "moredirs") for(d in dd) dir.create(d) dir(".") file.create(file.path(dd, "somefile")) dir(".", recursive=TRUE) stopifnot(unlink("dir?") == 1) # not an error unlink("dir?", recursive = TRUE) stopifnot(file.exists(dd) == c(FALSE, FALSE, FALSE, TRUE)) unl...
2008 Jun 19
0
Improper directory removal causes file system havoc (PR#11747)
...om> > cannot be deleted. The reason for the deletion failure is because the file > system thinks that the directory is still full, as its link count is not 2 -- it > is 5. The key bit of reg-tests-1.R is: > > dd <- c("dir1", "dir2", "dirs", "moredirs") > for(d in dd) dir.create(d) > dir(".") > file.create(file.path(dd, "somefile")) > dir(".", recursive=TRUE) > stopifnot(unlink("dir?") == 1) # not an error > unlink("dir?", recursive = TRUE) > stopifnot(file.exists(dd) =...
2009 Feb 25
3
make check reg-tests-1.R error on solaris
...eaving directory `/usr/local/src/R-2.8.1/tests' make: *** [check] Error 2 bash-2.05# Here is output from reg-tests-1.Rout.fail. [1] "41c6167e" "dir1" "dir2" "dirs" "file275c23f2" [6] "file33f963f2" "moredirs" > file.create(file.path(dd, "somefile")) [1] TRUE TRUE TRUE TRUE > dir(".", recursive=TRUE) [1] "41c6167e" "dir1/somefile" "dir2/somefile" [4] "dirs/somefile" "file275c23f2" "file33f963f2...
2009 Feb 25
3
make check reg-tests-1.R error on solaris
...eaving directory `/usr/local/src/R-2.8.1/tests' make: *** [check] Error 2 bash-2.05# Here is output from reg-tests-1.Rout.fail. [1] "41c6167e" "dir1" "dir2" "dirs" "file275c23f2" [6] "file33f963f2" "moredirs" > file.create(file.path(dd, "somefile")) [1] TRUE TRUE TRUE TRUE > dir(".", recursive=TRUE) [1] "41c6167e" "dir1/somefile" "dir2/somefile" [4] "dirs/somefile" "file275c23f2" "file33f963f2...
2007 Dec 07
0
regression tests for unlink and wildcards fail - Solaris 10 SPARC / Sun Studio 12 (PR#10501)
...ink("ftest?") stopifnot(file.exists(f) == c(FALSE, FALSE, TRUE, TRUE)) unlink("ftest*", recursive = TRUE) stopifnot(!file.exists(f)) stopifnot(unlink("no_such_file") == 0) # not an error dd <- c("dir1", "dir2", "dirs", "moredirs") for(d in dd) dir.create(d) dir(".") file.create(file.path(dd, "somefile")) dir(".", recursive=TRUE) stopifnot(unlink("dir?") == 1) # not an error unlink("dir?", recursive = TRUE) stopifnot(file.exists(dd) == c(FALSE, FALSE, FAL...