Searched refs:cmd (Results 1 - 25 of 52) sorted by relevance

123

/pkg/src/tests/
H A Dcertgenerator.py77 cmd = ["openssl", kind, "-in", tmp_pth,
81 p = subprocess.Popen(cmd, stdout=fh)
96 cmd = ["openssl", "req", "-new", "-nodes",
100 p = subprocess.Popen(cmd)
103 cmd = ["openssl", "ca", "-policy", "policy_anything",
116 cmd.append("-startdate")
117 cmd.append("090101010101Z")
118 cmd.append("-enddate")
119 cmd.append("090102010101Z")
121 cmd
[all...]
H A Drun.py40 cmd = [sys.executable, "run.py"] variable
41 cmd.extend(sys.argv[1:]) # Skip argv[0]
42 sys.exit(subprocess.call(cmd))
363 cmd = ["coverage", cov_format]
365 cmd.extend(["--include", ",".join(includes)])
367 cmd.extend(["--omit", ",".join(omits)])
368 cmd.extend([cov_option, cov_dest])
370 print("Generating coverage report via: ", " ".join(cmd), file=sys.stderr)
371 if subprocess.Popen(cmd).wait() != 0:
485 cmd variable
[all...]
/pkg/src/zoneproxy/zoneproxy-adm/
H A Dzoneproxy-adm.c53 int cmd[2]; local
62 cmd[0] = ZP_CMD_ZONE_REMOVED;
64 cmd[0] = ZP_CMD_ZONE_ADDED;
66 cmd[1] = zoneid;
67 params.data_ptr = (char *)cmd;
68 params.data_size = sizeof (cmd);
/pkg/src/modules/client/linkedimage/
H A Dzone.py388 cmd = DebugValues.get_value("bin_zonename") # pylint: disable=E1120
389 if cmd is not None:
390 cmd = [cmd]
392 cmd = ["/bin/zonename"]
395 if not li.path_exists(cmd[0]):
401 p = pkg.pkgsubprocess.Popen(cmd, stdout=fout, stderr=ferrout)
404 cmd = " ".join(cmd)
409 cmd_failed=(p.returncode, cmd, errou
[all...]
/pkg/src/svc/
H A Dsvc-pkg-mdns87 cmd="$wrapper ${pkg_root}usr/lib/pkg.depotd --llmirror --cfg $SMF_FMRI"
90 echo $cmd
92 exec $cmd
H A Dsvc-pkg-sysrepo133 cmd="start"
138 ${STARTUP_OPTIONS} -k ${cmd} 2>&1
142 cmd="graceful"
148 ${STARTUP_OPTIONS} -k ${cmd} 2>&1
152 cmd="stop"
154 ${STARTUP_OPTIONS} -k ${cmd} 2>&1
H A Dsvc-pkg-server100 cmd="$wrapper ${pkg_root}usr/lib/pkg.depotd --cfg $SMF_FMRI"
104 echo $cmd
106 exec $cmd
H A Dpkg5_include.sh133 # add_cronjob <fmri> <schedule> <cmd>
178 # remove_cronjob <fmri> <cmd>
183 typeset cmd=$2
192 $GREP "${cmd}" $current_crontab > /dev/null 2>&1
193 check_failure $? "command $cmd did not exist in crontab" $fmri \
196 $GREP -v "${cmd}" $current_crontab > $new_crontab
H A Dsvc-pkg-depot242 cmd="start"
249 ${STARTUP_OPTIONS} -k ${cmd} 2>&1
254 cmd="graceful"
262 ${STARTUP_OPTIONS} -k ${cmd} 2>&1
267 cmd="stop"
280 ${STARTUP_OPTIONS} -k ${cmd} 2>&1
/pkg/src/modules/flavor/
H A Dpython.py95 def __init__(self, rc, cmd, err):
97 self.cmd = cmd
101 return _("The command {cmd}\nexited with return code {rc} "
109 def __init__(self, cmd, lines):
111 self.cmd = cmd
114 return _("The command {cmd} produced the following lines "
284 cmd = ["python{0}.{1}".format(analysis_major, analysis_minor), exec_file,
292 cmd
[all...]
/pkg/src/zoneproxy/zoneproxy-client/
H A Dzoneproxy-client.c126 int cmd[2]; local
139 cmd[0] = ZP_CMD_PING;
141 dparam.data_ptr = (char *)cmd;
142 dparam.data_size = sizeof (cmd);
177 int cmd[2]; local
188 cmd[0] = ZP_CMD_REMOVE_LISTENER;
189 cmd[1] = zid;
191 dparam.data_ptr = (char *)cmd;
192 dparam.data_size = sizeof (cmd);
221 int cmd[ local
[all...]
/pkg/src/
H A Dpublish.py71 def error(text, cmd=None):
83 if cmd:
84 text_nows = "{0}: {1}".format(cmd, text_nows)
93 def usage(usage_error=None, cmd=None, retcode=EXIT_BADOPT):
98 error(usage_error, cmd=cmd)
174 "<value>'."), cmd="create-repository")
184 error(e, cmd="create-repository")
190 error(e, cmd="create-repository")
209 usage(_("only -e or -n may be specified"), cmd
[all...]
H A Dpkgrepo.py94 def error(text, cmd=None):
97 if cmd:
98 text = "{0}: {1}".format(cmd, text)
130 def usage(usage_error=None, cmd=None, retcode=2, full=False):
136 error(usage_error, cmd=cmd)
232 cmd=subcommand)
237 "using -s."), cmd=subcommand)
247 error(str(e), cmd=subcommand)
289 "for this operation."), cmd
[all...]
H A Dclient.py139 def error(text, cmd=None):
151 if cmd:
152 text_nows = "{0}: {1}".format(cmd, text_nows)
161 def usage(usage_error=None, cmd=None, retcode=EXIT_BADOPT, full=False,
167 error(usage_error, cmd=cmd)
385 for cmd in cmd_list:
386 if cmd is "":
389 if cmd not in cmd_dic:
395 "{0}".format(cmd))
[all...]
H A Dsign.py69 def error(text, cmd=None):
72 if cmd:
73 text = "{0}: {1}".format(cmd, text)
88 def usage(usage_error=None, cmd=None, retcode=EXIT_BADOPT):
93 error(usage_error, cmd=cmd)
/pkg/src/modules/
H A Dsmf.py63 def __init__(self, cmd, return_code, output):
64 self.cmd = cmd
70 self.cmd, self.return_code, self.output)
81 cmd = DebugValues.get_value("bin_zlogin")
82 if cmd is None:
83 cmd = zlogin_path
84 args = (cmd, zone) + args
148 cmd = (svcs_path, "-H", "-o", "fmri", "{0}".format(fmri))
150 instances = __call(cmd, zon
[all...]
/pkg/src/util/publish/
H A Dupdate_file_layout.py45 def error(text, cmd=None):
48 if cmd:
49 text = "{0}: {1}".format(cmd, text)
/pkg/src/tests/cli/
H A Dt_pkg_nasty.py325 cmd = "list -a -g {0} \*".format(self.durl)
326 self._trythis(cmd,
327 lambda: self.pkg(cmd, env_arg=env, exit=[0, 1]))
330 cmd = "contents -m -g {0} -r testpkg/*A@1.1".format(self.durl)
331 self._trythis(cmd,
332 lambda: self.pkg(cmd, env_arg=env, exit=[0, 1]))
337 cmd = "info -g {0} \*".format(self.durl)
338 self._trythis(cmd,
339 lambda: self.pkg(cmd, env_arg=env, exit=[0, 1]))
344 cmd
[all...]
/pkg/src/scripts/
H A Dpkg.depotd.sh50 cmd=`resolve_symlink $0`
51 my_home_relative=`dirname $cmd`
H A Dpkg.sh50 cmd=`resolve_symlink $0`
51 my_home_relative=`dirname $cmd`
H A Dpkgrecv.sh50 cmd=`resolve_symlink $0`
51 my_home_relative=`dirname $cmd`
H A Dpkgsend.sh50 cmd=`resolve_symlink $0`
51 my_home_relative=`dirname $cmd`
H A Dpkg.bat35 rem find python.[exe/bat/cmd] on the %PATH%
37 for %%i in (cmd bat exe) do (
H A Dpkg.depotd.bat35 rem find python.[exe/bat/cmd] on the %PATH%
37 for %%i in (cmd bat exe) do (
/pkg/src/pkg/
H A DMakefile29 BUILDID.cmd = \
32 BUILDID = $(BUILDID.cmd:sh)
53 MANIFESTS.cmd = \
61 MANIFESTS = $(MANIFESTS.cmd:sh)
251 TARGETS.cmd = \
257 $(PKGSEND) generate $(TARGETS.cmd:sh) $(PKGROOT) | \

Completed in 39 milliseconds

123