Home
last modified time | relevance | path

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

/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/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.py109 output = commands.getoutput('gdb -c %s batch' % path)
145 backtrace = commands.getoutput(gdb_cmd)
Dhtml_report.py1675 keyval_lines = commands.getoutput(r"grep -h '\b%s\b.*=' %s"
/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.py128 output = commands.getoutput(
/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.py411 vendor_hook = subprocess.getoutput('rpm --eval %{__os_install_post}')
/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/jsoncpp/
DSConstruct29 version = commands.getoutput('%s -dumpversion' %CXX)
/external/python/six/documentation/
Dindex.rst588 | ``getoutput`` | :func:`py2:commands.getoutput` | :func:`py3:subprocess.getout…
/external/python/cpython3/Lib/
Dsubprocess.py595 def getoutput(cmd): function
/external/autotest/client/bin/
Dutils.py711 glibc_ver = commands.getoutput('ldd --version').splitlines()[0]
/external/python/cpython3/Doc/library/
Dsubprocess.rst1346 .. function:: getoutput(cmd)
1353 >>> subprocess.getoutput('ls /bin/ls')
/external/python/cpython3/Lib/test/
Dtest_subprocess.py3135 self.assertEqual(subprocess.getoutput('echo xyzzy'), 'xyzzy')
/external/python/cpython3/Misc/
DHISTORY16716 - The ``commands`` module has been removed. Its getoutput() and