Changeset 77479 in vbox for trunk/src/VBox/ValidationKit/tests
- Timestamp:
- Feb 27, 2019 11:47:38 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 129069
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r77478 r77479 107 107 108 108 ## @todo fix this so all VMs have several usable test users with the same passwords (or none). 109 sUser = 'test'; 109 if oTestVm.isWindows(): 110 sUser = 'Administrator'; 111 else: 112 sUser = 'vbox'; 110 113 sPassword = 'password'; 111 if oTestVm.isWindows():112 #sPassword = ''; # stupid config mistake.113 sPassword = 'password';114 sUser = 'Administrator';115 114 sDomain = ''; 116 115 … … 1634 1633 sDomain = ""; 1635 1634 sFile = "C:\\windows\\system32\\kernel32.dll"; 1635 elif oTestVm.isLinux(): 1636 sUser = "vbox"; 1637 sPassword = "password"; 1638 sDomain = ""; 1639 sFile = "/bin/sh"; 1636 1640 1637 1641 # Number of stale guest files to create. … … 1770 1774 sCmd = "C:\\windows\\system32\\cmd.exe"; 1771 1775 aArgs = [sCmd,]; 1776 elif oTestVm.isLinux(): 1777 sUser = "vbox"; 1778 sPassword = "password"; 1779 sDomain = ""; 1780 sCmd = "/bin/sh"; 1781 aArgs = [sCmd,]; 1772 1782 1773 1783 # Number of stale guest processes to create. … … 1824 1834 if oTestVm.isWindows(): 1825 1835 aArgs = [ sCmd, '/C', 'dir', '/S', 'C:\\Windows\\system']; 1836 else: 1837 aArgs = [ sCmd, '-c', 'date']; 1826 1838 reporter.log2('Starting non-stale processes'); 1827 1839 aaProcs = []; … … 1874 1886 if oTestVm.isWindows(): 1875 1887 aArgs = [ sCmd, '/C', 'dir', '/S', 'C:\\Windows']; 1888 else: 1889 aArgs = [ sCmd ]; 1876 1890 reporter.log2('Starting blocking processes'); 1877 1891 aaProcs = []; … … 1922 1936 1923 1937 if oTestVm.isWindows(): 1924 # Outputting stuff.1925 1938 sImageOut = "C:\\windows\\system32\\cmd.exe"; 1926 1939 else: 1927 reporter.error('Implement me!'); ## @todo Implement non-Windows bits. 1928 return (False, oTxsSession); 1940 sImageOut = "/bin/sh"; 1929 1941 1930 1942 aaInvalid = [ … … 2171 2183 2172 2184 if oTestVm.isWindows(): 2173 # Outputting stuff.2174 2185 sImage = "C:\\windows\\system32\\cmd.exe"; 2175 2186 else: 2176 reporter.error('Implement me!'); ## @todo Implement non-Windows bits. 2177 return (False, oTxsSession); 2187 sImage = "/bin/sh"; 2178 2188 2179 2189 aaTests = []; … … 2273 2283 sUser = "vbox"; 2274 2284 sPassword = "password"; 2275 sDomain = "";2285 sDomain = ""; 2276 2286 2277 2287 if oTestVm.isWindows(): 2278 # Outputting stuff.2279 2288 sImage = "C:\\windows\\system32\\cmd.exe"; 2280 2289 else: 2281 reporter.error('Implement me!'); ## @todo Implement non-Windows bits. 2282 return (False, oTxsSession); 2290 sImage = "/bin/sh"; 2283 2291 2284 2292 fRc = True; … … 2367 2375 if oTestVm.isWindows(): 2368 2376 sScratch = "C:\\Temp\\vboxtest\\testGuestCtrlDirCreate\\"; 2377 else: 2378 sScratch = "/tmp/testGuestCtrlDirCreate/"; 2369 2379 2370 2380 aaTests = []; … … 2444 2454 sUser = "vbox"; 2445 2455 sPassword = "password"; 2446 2447 # if oTestVm.isWindows():2448 # sScratch = "C:\\Temp\\vboxtest\\testGuestCtrlDirCreateTemp\\";2449 2456 2450 2457 aaTests = [];
Note:
See TracChangeset
for help on using the changeset viewer.