search for: command_line

Displaying 20 results from an estimated 250 matches for "command_line".

Did you mean: command_lines
2010 Jul 15
1
Accessing command_line from core C code
I tried to replace display_labels asm code (ui.inc) with new C code (pm_display_labels), but the data i access in command_line doesn't seem to be always up to date. The patch i am working on is only for PXELINUX because of different vkernel structure: diff --git a/core/com32.inc b/core/com32.inc index 111590c..f19df7c 100644 --- a/core/com32.inc +++ b/core/com32.inc @@ -135,6 +135,7 @@ __com32: dd 0 ; 64K bounce...
2008 Jan 17
3
CruiseControl problem. Broken Pipe?
Hi Friends, Just happened to catch this err in the CC log: Build loop failed BuilderError: Write failed: Broken pipe ./script/../config/../app/models/subversion.rb:98:in `execute_in_local_copy'' ./script/../config/../lib/command_line.rb:86:in `call'' ./script/../config/../lib/command_line.rb:86:in `e'' ./script/../config/../lib/command_line.rb:84:in `popen'' ./script/../config/../lib/command_line.rb:84:in `e'' ./script/../config/../lib/command_line.rb:71:in `execute'' ./script/../config/....
2007 Apr 12
1
rspec on rails: undefined method ''controller_name''
...ctory.rb:37:in `create'' from C:/dev/teetime/vendor/plugins/rspec_on_rails/lib/spec/rails/extensi ons/kernel.rb:4:in `context'' from ./spec/functional/booking_sheet_spec.rb:3 from C:/rails/InstantRails/ruby/lib/ruby/gems/1.8/gems/rspec-0.8.2 /lib/s pec/runner/command_line.rb:24:in `load'' from C:/rails/InstantRails/ruby/lib/ruby/gems/1.8/gems/rspec- 0.8.2 /lib/s pec/runner/command_line.rb:24:in `run'' from C:/rails/InstantRails/ruby/lib/ruby/gems/1.8/gems/rspec-0.8.2 /lib/s pec/runner/command_line.rb:18:in `each'' from...
2006 Dec 25
1
Issues with 0.7.5
...e the underscore But fixing these didn''t get me back going. Now I have to have a rails_spec_server running in one console window (is this recommended practice?) and rake spec:autotest gives me: (druby://localhost:8989) /opt/local/lib/ruby/gems/1.8/gems/ rspec-0.7.5/lib/spec/runner/command_line.rb:23:in `run'': File or directory not found: ?diff (RuntimeError) from (druby://localhost:8989) /opt/local/lib/ruby/gems/1.8/ gems/rspec-0.7.5/lib/spec/runner/command_line.rb:15:in `each'' from (druby://localhost:8989) /opt/local/lib/ruby/gems/1.8/ gems/rspec-...
2011 Jan 02
3
undefined method `run_all' for :Array
...re-2.3.1/lib/rspec/core/example_group.rb:215:in `eval_after_alls'' from /Users/kristianconsult/.rvm/gems/ruby-1.9.3-head/gems/rspec- core-2.3.1/lib/rspec/core/example_group.rb:237:in `run'' from /Users/kristianconsult/.rvm/gems/ruby-1.9.3-head/gems/rspec- core-2.3.1/lib/rspec/core/command_line.rb:27:in `block (2 levels) in run'' from /Users/kristianconsult/.rvm/gems/ruby-1.9.3-head/gems/rspec- core-2.3.1/lib/rspec/core/command_line.rb:27:in `map'' from /Users/kristianconsult/.rvm/gems/ruby-1.9.3-head/gems/rspec- core-2.3.1/lib/rspec/core/command_line.rb:27:in `block in...
2014 Oct 05
0
[PATCH v5 2/7] tests/c-api: Convert the C API tests to use the test harness.
...["chmod"; "0o755"; "/pwd/test-pwd"]; ["command"; "/pwd/test-pwd"]], "/"), []; ]; @@ -4330,67 +4330,67 @@ locations." }; tests = [ InitScratchFS, Always, TestResult ( [["mkdir"; "/command_lines"]; - ["upload"; "test-command"; "/command_lines/test-command"]; + ["upload"; "$builddir/test-command"; "/command_lines/test-command"]; ["chmod"; "0o755"; "/command_lines/test-command...
2015 Aug 06
0
[PATCH v4 02/17] tests/c-api: Convert the C API tests to use the test harness.
...hmod"; "0o755"; "/pwd/test-pwd"]; ["command"; "/pwd/test-pwd"]], "/"), []; ]; @@ -4407,67 +4407,67 @@ locations." }; tests = [ InitScratchFS, IfNotCrossAppliance, TestResult ( [["mkdir"; "/command_lines"]; - ["upload"; "test-command"; "/command_lines/test-command"]; + ["upload"; "$builddir/test-command"; "/command_lines/test-command"]; ["chmod"; "0o755"; "/command_lines/test-command...
2007 Feb 13
3
spec.opts
...ib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:343:in `new_constants_in'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:489:in `load'' from /usr/lib/ruby/gems/1.8/gems/rspec-0.8.0/lib/spec/runner/command_line.rb:22:in `run'' from /usr/lib/ruby/gems/1.8/gems/rspec-0.8.0/lib/spec/runner/command_line.rb:16:in `run'' from /usr/lib/ruby/gems/1.8/gems/rspec-0.8.0/bin/spec:4 from /usr/bin/spec:18 James Hughes
2007 Jan 03
0
0.7.5 Doesn''t Let My Tests Run
...rt/lib/active_support/ dependencies.rb:364:in `require'' from ./spec/models/../spec_helper.rb:3 from ./spec/models/cart_spec.rb:1:in `require'' from ./spec/models/cart_spec.rb:1 from /opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.5/lib/spec/ runner/command_line.rb:21:in `load'' from /opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.5/lib/spec/ runner/command_line.rb:21:in `run'' from /opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.5/lib/spec/ runner/command_line.rb:15:in `each'' from /opt/local/lib/ruby/gems/1.8/...
2007 Mar 06
10
Windows rspec "gem install win32console"
Hi, Hi I am trying to use RSPEC on windows and i keep getting the following error "You must gem install win32console to use colour on Windows" I have installed this Gem but i am still getting the same error. The file that error is coming from is: C:\ruby\lib\ruby\gems\1.8\gems\rspec-0.8.2\lib\spec\runner\formatter\base_text_formatter.rb Do i need to put this line of code in? Where
2016 Aug 01
3
[PATCH] v2v: fixed file_owner function
...;; "--qf"; "%{NAME}"; path |] in + let cmd = [| "rpm"; "-qf"; "--qf"; "%{NAME}\\n"; path |] in debug "%s" (String.concat " " (Array.to_list cmd)); - (try g#command cmd + (try + let pkgs = g#command_lines cmd in + pkgs.(0) with Guestfs.Error msg as exn -> if String.find msg "is not owned" >= 0 then raise Not_found else raise exn + | Invalid_argument msg -> + raise Not_found ) | format -> --...
2010 Apr 21
2
[PATCH 1/2] Don't die during inspection if initrd doesn't exist
This fixes a problem where inspection would die if grub.conf referenced a non-existent initrd. Just return an empty initrd instead. --- perl/lib/Sys/Guestfs/Lib.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/perl/lib/Sys/Guestfs/Lib.pm b/perl/lib/Sys/Guestfs/Lib.pm index 5428b10..b5b3906 100644 --- a/perl/lib/Sys/Guestfs/Lib.pm +++ b/perl/lib/Sys/Guestfs/Lib.pm @@
2006 Nov 22
1
rspec_on_rails (MissingSourceFile)
...from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'' from ./spec/models/../spec_helper.rb:3 from ./spec/models/daily_scrum_spec.rb:1 from /usr/local/lib/ruby/gems/1.8/gems/rspec-0.7.2/lib/spec/runner/command_line.rb:21:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/rspec-0.7.2/lib/spec/runner/command_line.rb:15:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/rspec-0.7.2/bin/spec:4 rake aborted! Command failed with status (1): [/usr/local/bin/ruby -I"/usr/local/lib...
2014 Oct 23
17
[PATCH 00/16] Small bits of non-Linux porting
...m_name" into "progname" tests: isolate iso_system_id baseline string Include stdint.h where needed build: use $(SED) instead of sed when possible tests/c-api: add a way to skip test when host and appliance differ actions: mark as IfNotCrossAppliance tests of command and command_lines customize, mllib: use the libvirt CFLAGS tests: switch from get_current_dir_name to getcwd(0, NULL) configure: map also amd64 as host_cpu to x86_64 qemu bootstrap | 2 ++ builder/index-parse.y | 4 +-- builder/index-parser-c.c...
2016 Aug 03
1
Re: [PATCH] v2v: fixed file_owner function
...in > > + let cmd = [| "rpm"; "-qf"; "--qf"; "%{NAME}\\n"; path |] in > > debug "%s" (String.concat " " (Array.to_list cmd)); > > - (try g#command cmd > > + (try > > + let pkgs = g#command_lines cmd in > > + pkgs.(0) > > with Guestfs.Error msg as exn -> > > if String.find msg "is not owned" >= 0 then > > raise Not_found > > else > > raise exn > > + | Invalid_argument...
2011 Nov 25
1
[virt-tools-list] virt-v2v rhev import error
...=====================================================================================================]D 0h00m32s > find: failed to restore initial working directory: Permission denied > Using CPU model "cpu64-rhel6" > unknown filesystem label SWAP-sda5 > Error running rpm -qa: command_lines: command_lines: rpm: No such file or directory at /usr/share/perl5/vendor_perl/Sys/VirtV2V/GuestfsHandle.pm line 188. > at /usr/lib64/perl5/vendor_perl/Sys/Guestfs/Lib.pm line 1022 > virt-v2v: Unable to find any valid modprobe configuration > > > Not sure where to start here. Tha...
2011 Dec 07
2
failure converting Linux ESX guest to KVM hypervisor
...trace: umount_all libguestfs: trace: umount_all = 0 unknown filesystem label SWAP-sda2 libguestfs: trace: mount_options "" "/dev/sda1" "/" libguestfs: trace: mount_options = 0 libguestfs: trace: is_dir "/boot" libguestfs: trace: is_dir = 0 libguestfs: trace: command_lines "rpm -q -a --qf %{name} %{epoch} %{version} %{release} %{arch} " libguestfs: trace: command_lines = NULL (error) Error running rpm -qa: command_lines: command_lines: rpm: No such file or directory at /usr/share/perl5/vendor_perl/Sys/VirtV2V/GuestfsHandle.pm line 188. at /usr/lib64/perl5...
2012 Jan 24
2
Cipher is not a module
...'' from /usr/lib/ruby/site_ruby/1.8/puppet.rb:155 from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:271:in `require'' from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:271:in `initialize'' from /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb: 60:in `new'' from /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb: 60:in `execute'' from /usr/bin/puppet:4 My Linux is 2.6.18-274.3.1.el5 #1 SMP Tue Sep 6 20:13:52 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux which is a Centos 5.6 and the packages I installe...
2010 Feb 12
1
[PATCH] GuestOS: Fix _is_installed to return 0 if the package isn't installed
...Sys/VirtV2V/GuestOS/RedHat.pm index 9561338..8410ca2 100644 --- a/lib/Sys/VirtV2V/GuestOS/RedHat.pm +++ b/lib/Sys/VirtV2V/GuestOS/RedHat.pm @@ -710,8 +710,33 @@ sub _is_installed # Search installed rpms matching <name>.<arch> my $found = 0; - foreach my $installed ($g->command_lines(['rpm', '-q', '--qf', - '%{EPOCH} %{VERSION} %{RELEASE}', "$name.$arch"])) { + + my $rpmcmd = ['rpm', '-q', '--qf', '%{EPOCH} %{VERSION} %{RELEASE}\n', + "$name.$arch"]...
2007 Apr 25
9
Running specs for a plugin - undefined method ''define'' for object
...udit_fu/vendor/plugins/rspec/lib/spec/runner/behaviour_runner.rb:84:in `load_specs'' from /Users/jeff/Sites/niche/audit_fu/vendor/plugins/rspec/lib/spec/runner/behaviour_runner.rb:22:in `run'' from /Users/jeff/Sites/niche/audit_fu/vendor/plugins/rspec/lib/spec/runner/command_line.rb:17:in `run'' from vendor/plugins/rspec/bin/spec:3 If I change define/it to context/specify, it gets a little further, but blows up when it hits the fixtures definition: ruby vendor/plugins/rspec/bin/spec vendor/plugins/audit_fu/spec/audit_fu_spec.rb -- create_table(:widgets, {...