/pkg/src/tests/ |
H A D | certgenerator.py | 77 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 D | run.py | 40 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 D | zoneproxy-adm.c | 53 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 D | zone.py | 388 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 D | svc-pkg-mdns | 87 cmd="$wrapper ${pkg_root}usr/lib/pkg.depotd --llmirror --cfg $SMF_FMRI" 90 echo $cmd 92 exec $cmd
|
H A D | svc-pkg-sysrepo | 133 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 D | svc-pkg-server | 100 cmd="$wrapper ${pkg_root}usr/lib/pkg.depotd --cfg $SMF_FMRI" 104 echo $cmd 106 exec $cmd
|
H A D | pkg5_include.sh | 133 # 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 D | svc-pkg-depot | 242 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 D | python.py | 95 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 D | zoneproxy-client.c | 126 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 D | publish.py | 71 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 D | pkgrepo.py | 94 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 D | client.py | 139 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 D | sign.py | 69 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 D | smf.py | 63 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 D | update_file_layout.py | 45 def error(text, cmd=None): 48 if cmd: 49 text = "{0}: {1}".format(cmd, text)
|
/pkg/src/tests/cli/ |
H A D | t_pkg_nasty.py | 325 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 D | pkg.depotd.sh | 50 cmd=`resolve_symlink $0` 51 my_home_relative=`dirname $cmd`
|
H A D | pkg.sh | 50 cmd=`resolve_symlink $0` 51 my_home_relative=`dirname $cmd`
|
H A D | pkgrecv.sh | 50 cmd=`resolve_symlink $0` 51 my_home_relative=`dirname $cmd`
|
H A D | pkgsend.sh | 50 cmd=`resolve_symlink $0` 51 my_home_relative=`dirname $cmd`
|
H A D | pkg.bat | 35 rem find python.[exe/bat/cmd] on the %PATH% 37 for %%i in (cmd bat exe) do (
|
H A D | pkg.depotd.bat | 35 rem find python.[exe/bat/cmd] on the %PATH% 37 for %%i in (cmd bat exe) do (
|
/pkg/src/pkg/ |
H A D | Makefile | 29 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) | \
|