search for: testoutput

Displaying 20 results from an estimated 23 matches for "testoutput".

2010 Jun 01
2
Issue with assigning text to matrix
...he section of code I'm having trouble with: # First, I load in a list of names from a .csv file to 'names' names <- read.csv(file("Names.csv")) # Then I define a matrix which will be populated with various test statistics, with several rows for each entry in names testOutput <-matrix(nrow = 200, ncol = 5) for (i in 1:nrow(names)){ testOutput[i,1] <- names[i,1] testOutput[i,2] <- names[i,2] # test statistics code here } If I look at names[,1], I get the following: names[,1] [1] EQ_Level_UK EQ_Level_...
2008 Oct 18
1
Eval and parse function applied on file path
Hi, I have problem when evaluating string containing file path. path <-"inputDirectory='d:\\diplomski_rad\\testOutput\\temp'" print(eval(parse(text=path))) After executing code, I get [1] "d:diplomski_rad\testOutput\temp" Warning messages: 1: '\d' is an unrecognized escape in a character string 2: unrecognized escape removed from "d:\diplomski_rad\testOutput\temp" I try diff...
2012 Jan 16
1
[PATCH] generator: Add an explicit Cancellable flag
...uot;); - ("upload", (RErr, [FileIn "filename"; Dev_or_Path "remotefilename"], []), 66, [Progress], + ("upload", (RErr, [FileIn "filename"; Dev_or_Path "remotefilename"], []), 66, + [Progress; Cancellable], [InitScratchFS, Always, TestOutput ( (* Pick a file from cwd which isn't likely to change. *) [["mkdir"; "/upload"]; @@ -2730,7 +2731,8 @@ C<filename> can also be a named pipe. See also C<guestfs_download>."); - ("download", (RErr, [Dev_or_Path "remotefilena...
2009 Jan 16
2
Missing file to run Rcmd batch on Windows
...lled the batch files 4-3 found at http://cran.r-project.org/contrib/extra/batchfiles/ and added them to my path. I also had to install the latest version of perl (it's Strawberry perl if that makes a difference) and have added this to my path. Now when I run the command: Rcmd batch TestBatch.R TestOutput.txt from the command line, I get the error: Can't open perl script "C:\Progra~1\R\R-28~1.0\bin\batch": No such file or directory Just for reference, TestBatch.R contains only one line: print("hello world") Does anyone have any idea on what this file is that I might be mis...
2009 Aug 05
1
[PATCH] Compute MD5 of COPYING.LIB used in upload and download tests
...erator.ml | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/generator.ml b/src/generator.ml index 94dc268..7ac4ac8 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -1756,7 +1756,8 @@ This uses the L<blockdev(8)> command."); [InitBasicFS, Always, TestOutput ( (* Pick a file from cwd which isn't likely to change. *) [["upload"; "../COPYING.LIB"; "/COPYING.LIB"]; - ["checksum"; "md5"; "/COPYING.LIB"]], "e3eda01d9815f8d24aae2dbd89b68b06")], + ["checks...
2009 Aug 13
7
[PATCHx7] Misc patches
...Unified Bootloader) on C<device>, with the root directory being C<root>."); - ("cp", (RErr, [String "src"; String "dest"]), 87, [], + ("cp", (RErr, [Pathname "src"; Pathname "dest"]), 87, [], [InitBasicFS, Always, TestOutput ( [["write_file"; "/old"; "file content"; "0"]; ["cp"; "/old"; "/new"]; @@ -2189,7 +2189,7 @@ C<device>, with the root directory being C<root>."); This copies a file from C<src> to C<dest...
2012 Feb 27
4
[PATCH 0/4] Add various ntfs* tools and unify label setting.
This miscellaneous patch adds bindings for: - ntfsfix - ntfsclone - ntfslabel and unifies filesystem label setting through a single API 'set-label' which replaces 'set-e2label' and is also able to set labels on NTFS using the ntfslabel program. 'ntfsfix' has been added as a possible way to fix RHBZ#797760. However I have not found a way to fully fix this bug. See
2007 Sep 19
1
Running tcltk From a batch file
Hi, I am trying to run some simple tktcl code.... ## in a file called test.R require(tcltk) tt <- tktoplevel() OK.but <- tkbutton(tt,text="OK",command=function()tkdestroy(tt)) tkgrid(OK.but) tkfocus(tt) Using a batch file with the command Rterm < test.R > testOutput.Rout --slave The GUI pops up but then disappears. The results in the test.Output.Routfile are > # Load the tcltk package > require(tcltk) Loading required package: tcltk [1] TRUE > > # Create a new toplevel window > tt <- tktoplevel() > > # Create a button whose function (...
2012 Aug 14
7
[PATCH 0/7] Add tar compress, numericowner, excludes flags.
https://bugzilla.redhat.com/show_bug.cgi?id=847880 https://bugzilla.redhat.com/show_bug.cgi?id=847881 This patch series adds various optional arguments to the tar-in and tar-out commands. Firstly (1/7) an optional "compress" flag is added to select compression. This makes the calls tgz-in/tgz-out/txz-in/txz-out deprecated, and expands the range of compression types available.
2012 Dec 13
1
[PATCH] daemon: fix directory outside current root when executing commands
...; "/command12/test-command"]; ["chmod"; "0o755"; "/command12/test-command"]; - ["command"; "/command12/test-command"]]) + ["command"; "/command12/test-command"]]); + InitScratchFS, Always, TestOutput ( + [["mkdir"; "/pwd"]; + ["upload"; "test-pwd"; "/pwd/test-pwd"]; + ["chmod"; "0o755"; "/pwd/test-pwd"]; + ["command"; "/pwd/test-pwd"]], "/"); ];...
2009 Aug 12
23
[PATCH 0/23] factor and const-correctness
This started as a simple warning-elimination change. I'll get back to that series shortly ;-) It turned into a factorization and constification exercise during which I got a taste of ocaml. Thanks to Rich Jones for help with a few snippets in generator.ml. The overall result is that many previously-manually-maintained bits from daemon/*.c functions are now hoisted into the automatically-
2011 Jun 13
2
[PATCH] New API: ufs-growfs to grow UFS filesystems.
This simple patch adds support for the BSD "growfs" command, so you can grow BSD filesystems [in theory -- see below]. It also adds a new optional group called "ufsutils" which indicates if the libguestfs API supports the guestfs_ufs_growfs call, since it's not available on Fedora. (http://libguestfs.org/guestfs.3.html#availability) I tested this on Debian, and although
2013 Jan 24
3
[REVIEW ONLY] Mountable patches
These 3 patches implement support for APIs which must accept a mountable, but don't update apis which must return mountables. Matt
2012 Jul 23
1
[PATCH V3 1/2] umount: add force umount and lazy umount
...e = RErr, [String "pathordevice"], []; + style = RErr, [String "pathordevice"], [OBool "force"; OBool "lazyunmount"]; proc_nr = Some 45; fish_alias = ["unmount"]; + once_had_no_optargs = true; tests = [ InitEmpty, Always, TestOutputListOfDevices ( [["part_disk"; "/dev/sda"; "mbr"]; @@ -2762,7 +2763,7 @@ characters does I<not> work, even if the length is specified." }; [["part_disk"; "/dev/sda"; "mbr"]; ["mkfs"; "ex...
2012 Dec 14
1
[PATCH] Add support for getting and setting GPT partition type GUIDs
..._Table#Partition_type_GUIDs> +for a useful list of type GUIDs." }; + + { defaults with + name = "part_get_gpt_type"; + style = RString "guid", [Device "device"; Int "partnum"], []; + proc_nr = Some 393; + tests = [ + InitGPT, Always, TestOutput ( + [["part_set_gpt_type"; "/dev/sda"; "1"; + "01234567-89AB-CDEF-0123-456789ABCDEF"]; + ["part_get_gpt_type"; "/dev/sda"; "1"]], + "01234567-89AB-CDEF-0123-456789ABCDEF"); + ]; + s...
2013 Jan 30
1
[PATCH] Make internal-only functions and structures private
...nal_write"; style = RErr, [Pathname "path"; BufferIn "content"], []; proc_nr = Some 246; - in_fish = false; in_docs = false; + in_fish = false; in_docs = false; internal = true; protocol_limit_warning = true; tests = [ InitScratchFS, Always, TestOutput ( @@ -8391,7 +8391,7 @@ See also L<guestfs(3)/RESIZE2FS ERRORS>." }; name = "internal_autosync"; style = RErr, [], []; proc_nr = Some 282; - in_fish = false; in_docs = false; + in_fish = false; in_docs = false; internal = true; shortdesc = "intern...
2012 Jul 24
3
[PATCH V4 1/3] umount: add force umount and lazy umount
...e = RErr, [String "pathordevice"], []; + style = RErr, [String "pathordevice"], [OBool "force"; OBool "lazyunmount"]; proc_nr = Some 45; fish_alias = ["unmount"]; + once_had_no_optargs = true; tests = [ InitEmpty, Always, TestOutputListOfDevices ( [["part_disk"; "/dev/sda"; "mbr"]; @@ -2785,7 +2786,7 @@ characters does I<not> work, even if the length is specified." }; [["part_disk"; "/dev/sda"; "mbr"]; ["mkfs"; "ex...
2012 Jul 23
3
[PATCH V2 1/4] mount: add a macro to resolve path or device
Add a macro STRDUP_RESOLVE_DEVICE_OR_PATH to resolve path or device. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- daemon/daemon.h | 16 ++++++++++++++++ daemon/mount.c | 13 ++----------- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/daemon/daemon.h b/daemon/daemon.h index 85eec45..f7d0c75 100644 --- a/daemon/daemon.h +++ b/daemon/daemon.h @@ -336,6
2012 Jul 21
5
[PATCH 1/5] mount: add a macro to resolve path or device
Add a macro DUP_RESOLVE_DEVICE_OR_PATH to resolve path or device. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- daemon/daemon.h | 18 ++++++++++++++++++ daemon/mount.c | 13 ++----------- po/POTFILES | 8 ++++++++ 3 files changed, 28 insertions(+), 11 deletions(-) diff --git a/daemon/daemon.h b/daemon/daemon.h index 85eec45..39cc3f3 100644 --- a/daemon/daemon.h +++
2013 Feb 04
1
[PATCH] generator: Add visibility to action struct
...(no op)"; longdesc = "\ @@ -434,6 +435,7 @@ This returns the verbose messages flag." }; { defaults with name = "is_ready"; style = RBool "ready", [], []; + visibility = VStateTest; blocking = false; tests = [ InitNone, Always, TestOutputTrue ( @@ -464,6 +466,7 @@ For more information on states, see L<guestfs(3)>." }; { defaults with name = "is_launching"; style = RBool "launching", [], []; + visibility = VStateTest; blocking = false; tests = [ InitNone, Always, TestOut...