Home
last modified time | relevance | path

Searched refs:getoutput (Results 1 – 25 of 27) sorted by relevance

12

/external/ltp/testcases/network/nfsv4/acl/
Dtest_acl.py19 u = subprocess.getoutput('mkdir ' + path + "/" + testdir)
20 u = subprocess.getoutput('getfacl ' + path + "/" + testdir)
28 u = subprocess.getoutput('touch ' + path + "/" + testdir + testfile)
30 u = subprocess.getoutput('getfacl ' + path + "/" + testdir + testfile)
59 u = subprocess.getoutput('setfacl -m u:' + user + ':' + mode + " " + path + "/" + test_file)
72 u = subprocess.getoutput('touch ' + path + "/" + testfile)
77 u = subprocess.getoutput('setfacl -m u:' + user + ':' + mode + " " + path + "/" + testfile)
88 u = subprocess.getoutput('rm ' + path + "/*") # clean directory
96 u = subprocess.getoutput('touch ' + path + "/" + testfile)
101 u = subprocess.getoutput('setfacl -m u:' + user + ':' + mode + " " + path + "/" + testfile)
[all …]
Drandom_gen.py34 u = subprocess.getoutput('/usr/sbin/useradd '+ opts)
41 u = subprocess.getoutput('touch ' + path + '/'+ fName)
45 u = subprocess.getoutput('/usr/sbin/groupadd -g' + gid + " " + grpname)
65 u = subprocess.getoutput('/usr/sbin/userdel -r '+ name)
71 u = subprocess.getoutput('/usr/sbin/groupdel '+ name[0])
90 u = subprocess.getoutput('ls ' + path)
215 u = subprocess.getoutput('setfacl -m u:' + user + ':' + mode + " " + path + "/" + file)
219 u = subprocess.getoutput('setfacl -m g:' + group + ':' + mode + " " + path + "/" + file)
223 u = subprocess.getoutput('setfacl -x u:' + user + " " + path + "/" + file)
227 u = subprocess.getoutput('setfacl -x g:' + group + " " + path + "/" + file)
Dtest_long_acl.py23 u = subprocess.getoutput('rm ' + path + "/*") # clean directory
28 u = subprocess.getoutput('touch ' + path + "/" + testfile)
33 u = subprocess.getoutput('setfacl -m u:' + user + ':' + mode + " " + path + "/" + testfile)
/external/llvm-project/clang/tools/scan-view/share/
Dstartfile.py114 from commands import getoutput
116 from subprocess import getoutput
131 info = getoutput('kde-config --version')
164 info = getoutput('xprop -root _DT_SAVE_MODE')
/external/python/cpython2/Doc/library/
Dcommands.rst29 :func:`getstatusoutput` and :func:`getoutput` have been moved to the
44 .. function:: getoutput(cmd)
53 :func:`getoutput` function, and properly escapes backslashes and dollar signs in
70 >>> commands.getoutput('ls /bin/ls')
/external/python/cpython2/Lib/
Dcommands.py41 return getoutput('ls -ld' + mkarg(file))
48 def getoutput(cmd): function
/external/clang/tools/scan-view/share/
Dstartfile.py125 info = commands.getoutput('kde-config --version')
158 info = commands.getoutput('xprop -root _DT_SAVE_MODE')
/external/autotest/client/tools/
Dcrash_handler.py123 output = commands.getoutput('gdb -c %s batch' % path)
159 backtrace = commands.getoutput(gdb_cmd)
Dhtml_report.py1678 keyval_lines = subprocess.getoutput(r"grep -h '\b%s\b.*=' %s"
/external/llvm-project/lldb/packages/Python/lldbsuite/support/
Dseven.py6 get_command_output = commands.getoutput
/external/python/cpython2/Lib/test/
Dtest_commands.py27 self.assertEqual(commands.getoutput('echo xyzzy'), 'xyzzy')
/external/skqp/tools/
Dsanitize_source_files.py128 output = commands.getoutput(
/external/skia/tools/
Dsanitize_source_files.py130 output = commands.getoutput(
/external/llvm-project/debuginfo-tests/llgdb-tests/
Dllgdb.py19 xcode_dir = commands.getoutput("xcode-select --print-path")
/external/python/cpython2/Demo/tkinter/guido/
Dkill.py34 s = commands.getoutput('ps -w ' + option)
Dsvkill.py49 s = commands.getoutput('ps %s %s' % (view, format))
/external/python/cpython3/Lib/distutils/command/
Dbdist_rpm.py407 vendor_hook = subprocess.getoutput('rpm --eval %{__os_install_post}')
/external/llvm-project/lldb/examples/python/
Dperformance.py306 output = subprocess.getoutput(self.command).split("\n")[-1]
/external/python/six/
Dtest_six.py236 from six.moves import getoutput
237 output = getoutput('echo "foo"')
DCHANGES20 - Pull request #167: Add `six.moves.getoutput`.
/external/python/six/documentation/
Dindex.rst588 | ``getoutput`` | :func:`py2:commands.getoutput` | :func:`py3:subprocess.getout…
/external/python/cpython3/Lib/
Dsubprocess.py633 def getoutput(cmd): function
/external/python/cpython3/Doc/library/
Dsubprocess.rst1440 .. function:: getoutput(cmd)
1447 >>> subprocess.getoutput('ls /bin/ls')
/external/llvm-project/lldb/docs/use/
Dpython-reference.rst606 print >>result, (commands.getoutput('/bin/ls %s' % command))
/external/python/cpython3/Lib/test/
Dtest_shutil.py156 hdrs=subprocess.getoutput("/usr/bin/dump -o %s" % sys.executable)

12