browser_gcli_file.js 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822
  1. /*
  2. * Copyright 2012, Mozilla Foundation and contributors
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. "use strict";
  17. // THIS FILE IS GENERATED FROM SOURCE IN THE GCLI PROJECT
  18. // PLEASE TALK TO SOMEONE IN DEVELOPER TOOLS BEFORE EDITING IT
  19. const exports = {};
  20. function test() {
  21. helpers.runTestModule(exports, "browser_gcli_file.js");
  22. }
  23. // var helpers = require('./helpers');
  24. var local = false;
  25. exports.testBasic = function (options) {
  26. return helpers.audit(options, [
  27. {
  28. skipRemainingIf: options.isFirefox, // No file implementation in Firefox
  29. setup: "tsfile open /",
  30. check: {
  31. input: "tsfile open /",
  32. hints: "",
  33. markup: "VVVVVVVVVVVVI",
  34. cursor: 13,
  35. current: "p1",
  36. status: "ERROR",
  37. message: "'/' is not a file",
  38. args: {
  39. command: { name: "tsfile open" },
  40. p1: {
  41. value: undefined,
  42. arg: " /",
  43. status: "INCOMPLETE",
  44. message: "'/' is not a file"
  45. }
  46. }
  47. }
  48. },
  49. {
  50. setup: "tsfile open /zxcv",
  51. check: {
  52. input: "tsfile open /zxcv",
  53. // hints: ' -> /etc/',
  54. markup: "VVVVVVVVVVVVIIIII",
  55. cursor: 17,
  56. current: "p1",
  57. status: "ERROR",
  58. message: "'/zxcv' doesn't exist",
  59. args: {
  60. command: { name: "tsfile open" },
  61. p1: {
  62. value: undefined,
  63. arg: " /zxcv",
  64. status: "INCOMPLETE",
  65. message: "'/zxcv' doesn't exist"
  66. }
  67. }
  68. }
  69. },
  70. {
  71. skipIf: !local,
  72. setup: "tsfile open /mach_kernel",
  73. check: {
  74. input: "tsfile open /mach_kernel",
  75. hints: "",
  76. markup: "VVVVVVVVVVVVVVVVVVVVVVVV",
  77. cursor: 24,
  78. current: "p1",
  79. status: "VALID",
  80. message: "",
  81. args: {
  82. command: { name: "tsfile open" },
  83. p1: {
  84. value: "/mach_kernel",
  85. arg: " /mach_kernel",
  86. status: "VALID",
  87. message: ""
  88. }
  89. }
  90. }
  91. },
  92. {
  93. setup: "tsfile saveas /",
  94. check: {
  95. input: "tsfile saveas /",
  96. hints: "",
  97. markup: "VVVVVVVVVVVVVVI",
  98. cursor: 15,
  99. current: "p1",
  100. status: "ERROR",
  101. message: "'/' already exists",
  102. args: {
  103. command: { name: "tsfile saveas" },
  104. p1: {
  105. value: undefined,
  106. arg: " /",
  107. status: "INCOMPLETE",
  108. message: "'/' already exists"
  109. }
  110. }
  111. }
  112. },
  113. {
  114. setup: "tsfile saveas /zxcv",
  115. check: {
  116. input: "tsfile saveas /zxcv",
  117. // hints: ' -> /etc/',
  118. markup: "VVVVVVVVVVVVVVVVVVV",
  119. cursor: 19,
  120. current: "p1",
  121. status: "VALID",
  122. message: "",
  123. args: {
  124. command: { name: "tsfile saveas" },
  125. p1: {
  126. value: "/zxcv",
  127. arg: " /zxcv",
  128. status: "VALID",
  129. message: ""
  130. }
  131. }
  132. }
  133. },
  134. {
  135. skipIf: !local,
  136. setup: "tsfile saveas /mach_kernel",
  137. check: {
  138. input: "tsfile saveas /mach_kernel",
  139. hints: "",
  140. markup: "VVVVVVVVVVVVVVIIIIIIIIIIII",
  141. cursor: 26,
  142. current: "p1",
  143. status: "ERROR",
  144. message: "'/mach_kernel' already exists",
  145. args: {
  146. command: { name: "tsfile saveas" },
  147. p1: {
  148. value: undefined,
  149. arg: " /mach_kernel",
  150. status: "INCOMPLETE",
  151. message: "'/mach_kernel' already exists"
  152. }
  153. }
  154. }
  155. },
  156. {
  157. setup: "tsfile save /",
  158. check: {
  159. input: "tsfile save /",
  160. hints: "",
  161. markup: "VVVVVVVVVVVVI",
  162. cursor: 13,
  163. current: "p1",
  164. status: "ERROR",
  165. message: "'/' is not a file",
  166. args: {
  167. command: { name: "tsfile save" },
  168. p1: {
  169. value: undefined,
  170. arg: " /",
  171. status: "INCOMPLETE",
  172. message: "'/' is not a file"
  173. }
  174. }
  175. }
  176. },
  177. {
  178. setup: "tsfile save /zxcv",
  179. check: {
  180. input: "tsfile save /zxcv",
  181. // hints: ' -> /etc/',
  182. markup: "VVVVVVVVVVVVVVVVV",
  183. cursor: 17,
  184. current: "p1",
  185. status: "VALID",
  186. message: "",
  187. args: {
  188. command: { name: "tsfile save" },
  189. p1: {
  190. value: "/zxcv",
  191. arg: " /zxcv",
  192. status: "VALID",
  193. message: ""
  194. }
  195. }
  196. }
  197. },
  198. {
  199. skipIf: !local,
  200. setup: "tsfile save /mach_kernel",
  201. check: {
  202. input: "tsfile save /mach_kernel",
  203. hints: "",
  204. markup: "VVVVVVVVVVVVVVVVVVVVVVVV",
  205. cursor: 24,
  206. current: "p1",
  207. status: "VALID",
  208. message: "",
  209. args: {
  210. command: { name: "tsfile save" },
  211. p1: {
  212. value: "/mach_kernel",
  213. arg: " /mach_kernel",
  214. status: "VALID",
  215. message: ""
  216. }
  217. }
  218. }
  219. },
  220. {
  221. setup: "tsfile cd /",
  222. check: {
  223. input: "tsfile cd /",
  224. hints: "",
  225. markup: "VVVVVVVVVVV",
  226. cursor: 11,
  227. current: "p1",
  228. status: "VALID",
  229. message: "",
  230. args: {
  231. command: { name: "tsfile cd" },
  232. p1: {
  233. value: "/",
  234. arg: " /",
  235. status: "VALID",
  236. message: ""
  237. }
  238. }
  239. }
  240. },
  241. {
  242. setup: "tsfile cd /zxcv",
  243. check: {
  244. input: "tsfile cd /zxcv",
  245. // hints: ' -> /dev/',
  246. markup: "VVVVVVVVVVIIIII",
  247. cursor: 15,
  248. current: "p1",
  249. status: "ERROR",
  250. message: "'/zxcv' doesn't exist",
  251. args: {
  252. command: { name: "tsfile cd" },
  253. p1: {
  254. value: undefined,
  255. arg: " /zxcv",
  256. status: "INCOMPLETE",
  257. message: "'/zxcv' doesn't exist"
  258. }
  259. }
  260. }
  261. },
  262. {
  263. skipIf: true || !local,
  264. setup: "tsfile cd /etc/passwd",
  265. check: {
  266. input: "tsfile cd /etc/passwd",
  267. hints: " -> /etc/pam.d/",
  268. markup: "VVVVVVVVVVIIIIIIIIIII",
  269. cursor: 21,
  270. current: "p1",
  271. status: "ERROR",
  272. message: "'/etc/passwd' is not a directory",
  273. args: {
  274. command: { name: "tsfile cd" },
  275. p1: {
  276. value: undefined,
  277. arg: " /etc/passwd",
  278. status: "INCOMPLETE",
  279. message: "'/etc/passwd' is not a directory"
  280. }
  281. }
  282. }
  283. },
  284. {
  285. setup: "tsfile mkdir /",
  286. check: {
  287. input: "tsfile mkdir /",
  288. hints: "",
  289. markup: "VVVVVVVVVVVVVI",
  290. cursor: 14,
  291. current: "p1",
  292. status: "ERROR",
  293. message: "" / " already exists",
  294. args: {
  295. command: { name: "tsfile mkdir" },
  296. p1: {
  297. value: undefined,
  298. arg: " /",
  299. status: "INCOMPLETE",
  300. message: "'/' already exists"
  301. }
  302. }
  303. }
  304. },
  305. {
  306. setup: "tsfile mkdir /zxcv",
  307. check: {
  308. input: "tsfile mkdir /zxcv",
  309. // hints: ' -> /dev/',
  310. markup: "VVVVVVVVVVVVVVVVVV",
  311. cursor: 18,
  312. current: "p1",
  313. status: "VALID",
  314. message: "",
  315. args: {
  316. command: { name: "tsfile mkdir" },
  317. p1: {
  318. value: "/zxcv",
  319. arg: " /zxcv",
  320. status: "VALID",
  321. message: ""
  322. }
  323. }
  324. }
  325. },
  326. {
  327. skipIf: !local,
  328. setup: "tsfile mkdir /mach_kernel",
  329. check: {
  330. input: "tsfile mkdir /mach_kernel",
  331. hints: "",
  332. markup: "VVVVVVVVVVVVVIIIIIIIIIIII",
  333. cursor: 25,
  334. current: "p1",
  335. status: "ERROR",
  336. message: "'/mach_kernel' already exists",
  337. args: {
  338. command: { name: "tsfile mkdir" },
  339. p1: {
  340. value: undefined,
  341. arg: " /mach_kernel",
  342. status: "INCOMPLETE",
  343. message: "'/mach_kernel' already exists"
  344. }
  345. }
  346. }
  347. },
  348. {
  349. setup: "tsfile rm /",
  350. check: {
  351. input: "tsfile rm /",
  352. hints: "",
  353. markup: "VVVVVVVVVVV",
  354. cursor: 11,
  355. current: "p1",
  356. status: "VALID",
  357. message: "",
  358. args: {
  359. command: { name: "tsfile rm" },
  360. p1: {
  361. value: "/",
  362. arg: " /",
  363. status: "VALID",
  364. message: ""
  365. }
  366. }
  367. }
  368. },
  369. {
  370. setup: "tsfile rm /zxcv",
  371. check: {
  372. input: "tsfile rm /zxcv",
  373. // hints: ' -> /etc/',
  374. markup: "VVVVVVVVVVIIIII",
  375. cursor: 15,
  376. current: "p1",
  377. status: "ERROR",
  378. message: "'/zxcv' doesn't exist",
  379. args: {
  380. command: { name: "tsfile rm" },
  381. p1: {
  382. value: undefined,
  383. arg: " /zxcv",
  384. status: "INCOMPLETE",
  385. message: "'/zxcv' doesn't exist"
  386. }
  387. }
  388. }
  389. },
  390. {
  391. skipIf: !local,
  392. setup: "tsfile rm /mach_kernel",
  393. check: {
  394. input: "tsfile rm /mach_kernel",
  395. hints: "",
  396. markup: "VVVVVVVVVVVVVVVVVVVVVV",
  397. cursor: 22,
  398. current: "p1",
  399. status: "VALID",
  400. message: "",
  401. args: {
  402. command: { name: "tsfile rm" },
  403. p1: {
  404. value: "/mach_kernel",
  405. arg: " /mach_kernel",
  406. status: "VALID",
  407. message: ""
  408. }
  409. }
  410. }
  411. }
  412. ]);
  413. };
  414. exports.testFirefoxBasic = function (options) {
  415. return helpers.audit(options, [
  416. {
  417. // These tests are just like the ones above tailored for running in
  418. // Firefox
  419. skipRemainingIf: true,
  420. // skipRemainingIf: !options.isFirefox,
  421. skipIf: true,
  422. setup: "tsfile open /",
  423. check: {
  424. input: "tsfile open /",
  425. hints: "",
  426. markup: "VVVVVVVVVVVVI",
  427. cursor: 13,
  428. current: "p1",
  429. status: "ERROR",
  430. message: "'/' is not a file",
  431. args: {
  432. command: { name: "tsfile open" },
  433. p1: {
  434. value: undefined,
  435. arg: " /",
  436. status: "INCOMPLETE",
  437. message: "'/' is not a file"
  438. }
  439. }
  440. }
  441. },
  442. {
  443. skipIf: true,
  444. setup: "tsfile open /zxcv",
  445. check: {
  446. input: "tsfile open /zxcv",
  447. // hints: ' -> /etc/',
  448. markup: "VVVVVVVVVVVVIIIII",
  449. cursor: 17,
  450. current: "p1",
  451. status: "ERROR",
  452. message: "'/zxcv' doesn't exist",
  453. args: {
  454. command: { name: "tsfile open" },
  455. p1: {
  456. value: undefined,
  457. arg: " /zxcv",
  458. status: "INCOMPLETE",
  459. message: "'/zxcv' doesn't exist"
  460. }
  461. }
  462. }
  463. },
  464. {
  465. skipIf: !local,
  466. setup: "tsfile open /mach_kernel",
  467. check: {
  468. input: "tsfile open /mach_kernel",
  469. hints: "",
  470. markup: "VVVVVVVVVVVVVVVVVVVVVVVV",
  471. cursor: 24,
  472. current: "p1",
  473. status: "VALID",
  474. message: "",
  475. args: {
  476. command: { name: "tsfile open" },
  477. p1: {
  478. value: "/mach_kernel",
  479. arg: " /mach_kernel",
  480. status: "VALID",
  481. message: ""
  482. }
  483. }
  484. }
  485. },
  486. {
  487. skipIf: true,
  488. setup: "tsfile saveas /",
  489. check: {
  490. input: "tsfile saveas /",
  491. hints: "",
  492. markup: "VVVVVVVVVVVVVVI",
  493. cursor: 15,
  494. current: "p1",
  495. status: "ERROR",
  496. message: "'/' already exists",
  497. args: {
  498. command: { name: "tsfile saveas" },
  499. p1: {
  500. value: undefined,
  501. arg: " /",
  502. status: "INCOMPLETE",
  503. message: "'/' already exists"
  504. }
  505. }
  506. }
  507. },
  508. {
  509. skipIf: true,
  510. setup: "tsfile saveas /zxcv",
  511. check: {
  512. input: "tsfile saveas /zxcv",
  513. // hints: ' -> /etc/',
  514. markup: "VVVVVVVVVVVVVVVVVVV",
  515. cursor: 19,
  516. current: "p1",
  517. status: "VALID",
  518. message: "",
  519. args: {
  520. command: { name: "tsfile saveas" },
  521. p1: {
  522. value: "/zxcv",
  523. arg: " /zxcv",
  524. status: "VALID",
  525. message: ""
  526. }
  527. }
  528. }
  529. },
  530. {
  531. skipIf: !local,
  532. setup: "tsfile saveas /mach_kernel",
  533. check: {
  534. input: "tsfile saveas /mach_kernel",
  535. hints: "",
  536. markup: "VVVVVVVVVVVVVVIIIIIIIIIIII",
  537. cursor: 26,
  538. current: "p1",
  539. status: "ERROR",
  540. message: "'/mach_kernel' already exists",
  541. args: {
  542. command: { name: "tsfile saveas" },
  543. p1: {
  544. value: undefined,
  545. arg: " /mach_kernel",
  546. status: "INCOMPLETE",
  547. message: "'/mach_kernel' already exists"
  548. }
  549. }
  550. }
  551. },
  552. {
  553. skipIf: true,
  554. setup: "tsfile save /",
  555. check: {
  556. input: "tsfile save /",
  557. hints: "",
  558. markup: "VVVVVVVVVVVVI",
  559. cursor: 13,
  560. current: "p1",
  561. status: "ERROR",
  562. message: "'/' is not a file",
  563. args: {
  564. command: { name: "tsfile save" },
  565. p1: {
  566. value: undefined,
  567. arg: " /",
  568. status: "INCOMPLETE",
  569. message: "'/' is not a file"
  570. }
  571. }
  572. }
  573. },
  574. {
  575. skipIf: true,
  576. setup: "tsfile save /zxcv",
  577. check: {
  578. input: "tsfile save /zxcv",
  579. // hints: ' -> /etc/',
  580. markup: "VVVVVVVVVVVVVVVVV",
  581. cursor: 17,
  582. current: "p1",
  583. status: "VALID",
  584. message: "",
  585. args: {
  586. command: { name: "tsfile save" },
  587. p1: {
  588. value: "/zxcv",
  589. arg: " /zxcv",
  590. status: "VALID",
  591. message: ""
  592. }
  593. }
  594. }
  595. },
  596. {
  597. skipIf: !local,
  598. setup: "tsfile save /mach_kernel",
  599. check: {
  600. input: "tsfile save /mach_kernel",
  601. hints: "",
  602. markup: "VVVVVVVVVVVVVVVVVVVVVVVV",
  603. cursor: 24,
  604. current: "p1",
  605. status: "VALID",
  606. message: "",
  607. args: {
  608. command: { name: "tsfile save" },
  609. p1: {
  610. value: "/mach_kernel",
  611. arg: " /mach_kernel",
  612. status: "VALID",
  613. message: ""
  614. }
  615. }
  616. }
  617. },
  618. {
  619. setup: "tsfile cd /",
  620. check: {
  621. input: "tsfile cd /",
  622. hints: "",
  623. markup: "VVVVVVVVVVV",
  624. cursor: 11,
  625. current: "p1",
  626. status: "VALID",
  627. message: "",
  628. args: {
  629. command: { name: "tsfile cd" },
  630. p1: {
  631. value: "/",
  632. arg: " /",
  633. status: "VALID",
  634. message: ""
  635. }
  636. }
  637. }
  638. },
  639. {
  640. setup: "tsfile cd /zxcv",
  641. check: {
  642. input: "tsfile cd /zxcv",
  643. // hints: ' -> /dev/',
  644. // markup: 'VVVVVVVVVVIIIII',
  645. cursor: 15,
  646. current: "p1",
  647. // status: 'ERROR',
  648. message: "'/zxcv' doesn't exist",
  649. args: {
  650. command: { name: "tsfile cd" },
  651. p1: {
  652. value: undefined,
  653. arg: " /zxcv",
  654. // status: 'INCOMPLETE',
  655. message: "'/zxcv' doesn't exist"
  656. }
  657. }
  658. }
  659. },
  660. {
  661. skipIf: true || !local,
  662. setup: "tsfile cd /etc/passwd",
  663. check: {
  664. input: "tsfile cd /etc/passwd",
  665. hints: " -> /etc/pam.d/",
  666. markup: "VVVVVVVVVVIIIIIIIIIII",
  667. cursor: 21,
  668. current: "p1",
  669. status: "ERROR",
  670. message: "'/etc/passwd' is not a directory",
  671. args: {
  672. command: { name: "tsfile cd" },
  673. p1: {
  674. value: undefined,
  675. arg: " /etc/passwd",
  676. status: "INCOMPLETE",
  677. message: "'/etc/passwd' is not a directory"
  678. }
  679. }
  680. }
  681. },
  682. {
  683. setup: "tsfile mkdir /",
  684. check: {
  685. input: "tsfile mkdir /",
  686. hints: "",
  687. markup: "VVVVVVVVVVVVVI",
  688. cursor: 14,
  689. current: "p1",
  690. status: "ERROR",
  691. message: "" / " already exists",
  692. args: {
  693. command: { name: "tsfile mkdir" },
  694. p1: {
  695. value: undefined,
  696. arg: " /",
  697. status: "INCOMPLETE",
  698. message: "'/' already exists"
  699. }
  700. }
  701. }
  702. },
  703. {
  704. setup: "tsfile mkdir /zxcv",
  705. check: {
  706. input: "tsfile mkdir /zxcv",
  707. // hints: ' -> /dev/',
  708. markup: "VVVVVVVVVVVVVVVVVV",
  709. cursor: 18,
  710. current: "p1",
  711. status: "VALID",
  712. message: "",
  713. args: {
  714. command: { name: "tsfile mkdir" },
  715. p1: {
  716. value: "/zxcv",
  717. arg: " /zxcv",
  718. status: "VALID",
  719. message: ""
  720. }
  721. }
  722. }
  723. },
  724. {
  725. skipIf: !local,
  726. setup: "tsfile mkdir /mach_kernel",
  727. check: {
  728. input: "tsfile mkdir /mach_kernel",
  729. hints: "",
  730. markup: "VVVVVVVVVVVVVIIIIIIIIIIII",
  731. cursor: 25,
  732. current: "p1",
  733. status: "ERROR",
  734. message: "'/mach_kernel' already exists",
  735. args: {
  736. command: { name: "tsfile mkdir" },
  737. p1: {
  738. value: undefined,
  739. arg: " /mach_kernel",
  740. status: "INCOMPLETE",
  741. message: "'/mach_kernel' already exists"
  742. }
  743. }
  744. }
  745. },
  746. {
  747. skipIf: true,
  748. setup: "tsfile rm /",
  749. check: {
  750. input: "tsfile rm /",
  751. hints: "",
  752. markup: "VVVVVVVVVVV",
  753. cursor: 11,
  754. current: "p1",
  755. status: "VALID",
  756. message: "",
  757. args: {
  758. command: { name: "tsfile rm" },
  759. p1: {
  760. value: "/",
  761. arg: " /",
  762. status: "VALID",
  763. message: ""
  764. }
  765. }
  766. }
  767. },
  768. {
  769. skipIf: true,
  770. setup: "tsfile rm /zxcv",
  771. check: {
  772. input: "tsfile rm /zxcv",
  773. // hints: ' -> /etc/',
  774. markup: "VVVVVVVVVVIIIII",
  775. cursor: 15,
  776. current: "p1",
  777. status: "ERROR",
  778. message: "'/zxcv' doesn't exist",
  779. args: {
  780. command: { name: "tsfile rm" },
  781. p1: {
  782. value: undefined,
  783. arg: " /zxcv",
  784. status: "INCOMPLETE",
  785. message: "'/zxcv' doesn't exist"
  786. }
  787. }
  788. }
  789. },
  790. {
  791. skipIf: !local,
  792. setup: "tsfile rm /mach_kernel",
  793. check: {
  794. input: "tsfile rm /mach_kernel",
  795. hints: "",
  796. markup: "VVVVVVVVVVVVVVVVVVVVVV",
  797. cursor: 22,
  798. current: "p1",
  799. status: "VALID",
  800. message: "",
  801. args: {
  802. command: { name: "tsfile rm" },
  803. p1: {
  804. value: "/mach_kernel",
  805. arg: " /mach_kernel",
  806. status: "VALID",
  807. message: ""
  808. }
  809. }
  810. }
  811. }
  812. ]);
  813. };