OILS / test / spec.sh View on Github | oils.pub

905 lines, 671 significant
1#!/usr/bin/env bash
2#
3# This file is GENERATED -- DO NOT EDIT.
4#
5# Update it with:
6# test/spec-runner.sh gen-task-file
7#
8# Usage:
9# test/spec.sh <function name>
10
11: ${LIB_OSH=stdlib/osh}
12source $LIB_OSH/bash-strict.sh
13source $LIB_OSH/task-five.sh
14
15source build/dev-shell.sh
16
17alias() {
18 test/spec-py.sh run-file alias "$@"
19}
20
21append() {
22 test/spec-py.sh run-file append "$@"
23}
24
25arg-parse() {
26 test/spec-py.sh run-file arg-parse "$@"
27}
28
29arith-context() {
30 test/spec-py.sh run-file arith-context "$@"
31}
32
33arith-dynamic() {
34 test/spec-py.sh run-file arith-dynamic "$@"
35}
36
37arith() {
38 test/spec-py.sh run-file arith "$@"
39}
40
41array-assign() {
42 test/spec-py.sh run-file array-assign "$@"
43}
44
45array-assoc() {
46 test/spec-py.sh run-file array-assoc "$@"
47}
48
49array-basic() {
50 test/spec-py.sh run-file array-basic "$@"
51}
52
53array-compat() {
54 test/spec-py.sh run-file array-compat "$@"
55}
56
57array-literal() {
58 test/spec-py.sh run-file array-literal "$@"
59}
60
61array-sparse() {
62 test/spec-py.sh run-file array-sparse "$@"
63}
64
65array() {
66 test/spec-py.sh run-file array "$@"
67}
68
69assign-deferred() {
70 test/spec-py.sh run-file assign-deferred "$@"
71}
72
73assign-dialects() {
74 test/spec-py.sh run-file assign-dialects "$@"
75}
76
77assign-extended() {
78 test/spec-py.sh run-file assign-extended "$@"
79}
80
81assign() {
82 test/spec-py.sh run-file assign "$@"
83}
84
85background() {
86 test/spec-py.sh run-file background "$@"
87}
88
89ble-features() {
90 test/spec-py.sh run-file ble-features "$@"
91}
92
93ble-idioms() {
94 test/spec-py.sh run-file ble-idioms "$@"
95}
96
97ble-unset() {
98 test/spec-py.sh run-file ble-unset "$@"
99}
100
101blog-other1() {
102 test/spec-py.sh run-file blog-other1 "$@"
103}
104
105blog1() {
106 test/spec-py.sh run-file blog1 "$@"
107}
108
109blog2() {
110 test/spec-py.sh run-file blog2 "$@"
111}
112
113bool-parse() {
114 test/spec-py.sh run-file bool-parse "$@"
115}
116
117brace-expansion() {
118 test/spec-py.sh run-file brace-expansion "$@"
119}
120
121bugs() {
122 test/spec-py.sh run-file bugs "$@"
123}
124
125builtin-bash() {
126 test/spec-py.sh run-file builtin-bash "$@"
127}
128
129builtin-bind() {
130 test/spec-py.sh run-file builtin-bind "$@"
131}
132
133builtin-bracket() {
134 test/spec-py.sh run-file builtin-bracket "$@"
135}
136
137builtin-cd() {
138 test/spec-py.sh run-file builtin-cd "$@"
139}
140
141builtin-completion() {
142 test/spec-py.sh run-file builtin-completion "$@"
143}
144
145builtin-dirs() {
146 test/spec-py.sh run-file builtin-dirs "$@"
147}
148
149builtin-echo() {
150 test/spec-py.sh run-file builtin-echo "$@"
151}
152
153builtin-eval-source() {
154 test/spec-py.sh run-file builtin-eval-source "$@"
155}
156
157builtin-fc() {
158 test/spec-py.sh run-file builtin-fc "$@"
159}
160
161builtin-getopts() {
162 test/spec-py.sh run-file builtin-getopts "$@"
163}
164
165builtin-history() {
166 test/spec-py.sh run-file builtin-history "$@"
167}
168
169builtin-kill() {
170 test/spec-py.sh run-file builtin-kill "$@"
171}
172
173builtin-meta-assign() {
174 test/spec-py.sh run-file builtin-meta-assign "$@"
175}
176
177builtin-meta() {
178 test/spec-py.sh run-file builtin-meta "$@"
179}
180
181builtin-misc() {
182 test/spec-py.sh run-file builtin-misc "$@"
183}
184
185builtin-printf() {
186 test/spec-py.sh run-file builtin-printf "$@"
187}
188
189builtin-process() {
190 test/spec-py.sh run-file builtin-process "$@"
191}
192
193builtin-read() {
194 test/spec-py.sh run-file builtin-read "$@"
195}
196
197builtin-random() {
198 test/spec-py.sh run-file builtin-random "$@"
199}
200
201builtin-set() {
202 test/spec-py.sh run-file builtin-set "$@"
203}
204
205builtin-special() {
206 test/spec-py.sh run-file builtin-special "$@"
207}
208
209builtin-times() {
210 test/spec-py.sh run-file builtin-times "$@"
211}
212
213builtin-trap-bash() {
214 test/spec-py.sh run-file builtin-trap-bash "$@"
215}
216
217builtin-trap-err() {
218 test/spec-py.sh run-file builtin-trap-err "$@"
219}
220
221builtin-trap() {
222 test/spec-py.sh run-file builtin-trap "$@"
223}
224
225builtin-type-bash() {
226 test/spec-py.sh run-file builtin-type-bash "$@"
227}
228
229builtin-type() {
230 test/spec-py.sh run-file builtin-type "$@"
231}
232
233builtin-vars() {
234 test/spec-py.sh run-file builtin-vars "$@"
235}
236
237case_() {
238 test/spec-py.sh run-file case_ "$@"
239}
240
241command-parsing() {
242 test/spec-py.sh run-file command-parsing "$@"
243}
244
245command-sub-ksh() {
246 test/spec-py.sh run-file command-sub-ksh "$@"
247}
248
249command-sub() {
250 test/spec-py.sh run-file command-sub "$@"
251}
252
253command_() {
254 test/spec-py.sh run-file command_ "$@"
255}
256
257comments() {
258 test/spec-py.sh run-file comments "$@"
259}
260
261dbracket() {
262 test/spec-py.sh run-file dbracket "$@"
263}
264
265divergence() {
266 test/spec-py.sh run-file divergence "$@"
267}
268
269dparen() {
270 test/spec-py.sh run-file dparen "$@"
271}
272
273empty-bodies() {
274 test/spec-py.sh run-file empty-bodies "$@"
275}
276
277errexit-osh() {
278 test/spec-py.sh run-file errexit-osh "$@"
279}
280
281errexit() {
282 test/spec-py.sh run-file errexit "$@"
283}
284
285exit-status() {
286 test/spec-py.sh run-file exit-status "$@"
287}
288
289explore-parsing() {
290 test/spec-py.sh run-file explore-parsing "$@"
291}
292
293extglob-files() {
294 test/spec-py.sh run-file extglob-files "$@"
295}
296
297extglob-match() {
298 test/spec-py.sh run-file extglob-match "$@"
299}
300
301fatal-errors() {
302 test/spec-py.sh run-file fatal-errors "$@"
303}
304
305for-expr() {
306 test/spec-py.sh run-file for-expr "$@"
307}
308
309func-parsing() {
310 test/spec-py.sh run-file func-parsing "$@"
311}
312
313glob-bash() {
314 test/spec-py.sh run-file glob-bash "$@"
315}
316
317glob() {
318 test/spec-py.sh run-file glob "$@"
319}
320
321globignore() {
322 test/spec-py.sh run-file globignore "$@"
323}
324
325globstar() {
326 test/spec-py.sh run-file globstar "$@"
327}
328
329hay-isolation() {
330 test/spec-py.sh run-file hay-isolation "$@"
331}
332
333hay-meta() {
334 test/spec-py.sh run-file hay-meta "$@"
335}
336
337hay() {
338 test/spec-py.sh run-file hay "$@"
339}
340
341here-doc() {
342 test/spec-py.sh run-file here-doc "$@"
343}
344
345if_() {
346 test/spec-py.sh run-file if_ "$@"
347}
348
349interactive-parse() {
350 test/spec-py.sh run-file interactive-parse "$@"
351}
352
353interactive() {
354 test/spec-py.sh run-file interactive "$@"
355}
356
357introspect() {
358 test/spec-py.sh run-file introspect "$@"
359}
360
361known-differences() {
362 test/spec-py.sh run-file known-differences "$@"
363}
364
365let() {
366 test/spec-py.sh run-file let "$@"
367}
368
369loop() {
370 test/spec-py.sh run-file loop "$@"
371}
372
373nameref() {
374 test/spec-py.sh run-file nameref "$@"
375}
376
377nix-idioms() {
378 test/spec-py.sh run-file nix-idioms "$@"
379}
380
381nocasematch-match() {
382 test/spec-py.sh run-file nocasematch-match "$@"
383}
384
385nul-bytes() {
386 test/spec-py.sh run-file nul-bytes "$@"
387}
388
389osh-bugs() {
390 test/spec-py.sh run-file osh-bugs "$@"
391}
392
393paren-ambiguity() {
394 test/spec-py.sh run-file paren-ambiguity "$@"
395}
396
397parse-errors() {
398 test/spec-py.sh run-file parse-errors "$@"
399}
400
401pipeline() {
402 test/spec-py.sh run-file pipeline "$@"
403}
404
405posix() {
406 test/spec-py.sh run-file posix "$@"
407}
408
409print-source-code() {
410 test/spec-py.sh run-file print-source-code "$@"
411}
412
413process-sub() {
414 test/spec-py.sh run-file process-sub "$@"
415}
416
417prompt() {
418 test/spec-py.sh run-file prompt "$@"
419}
420
421quote() {
422 test/spec-py.sh run-file quote "$@"
423}
424
425redir-order() {
426 test/spec-py.sh run-file redir-order "$@"
427}
428
429redirect-command() {
430 test/spec-py.sh run-file redirect-command "$@"
431}
432
433redirect-multi() {
434 test/spec-py.sh run-file redirect-multi "$@"
435}
436
437redirect() {
438 test/spec-py.sh run-file redirect "$@"
439}
440
441regex() {
442 test/spec-py.sh run-file regex "$@"
443}
444
445serialize() {
446 test/spec-py.sh run-file serialize "$@"
447}
448
449sh-func() {
450 test/spec-py.sh run-file sh-func "$@"
451}
452
453sh-options-bash() {
454 test/spec-py.sh run-file sh-options-bash "$@"
455}
456
457sh-options() {
458 test/spec-py.sh run-file sh-options "$@"
459}
460
461sh-usage() {
462 test/spec-py.sh run-file sh-usage "$@"
463}
464
465shell-bugs() {
466 test/spec-py.sh run-file shell-bugs "$@"
467}
468
469shell-grammar() {
470 test/spec-py.sh run-file shell-grammar "$@"
471}
472
473smoke() {
474 test/spec-py.sh run-file smoke "$@"
475}
476
477spec-harness-bug() {
478 test/spec-py.sh run-file spec-harness-bug "$@"
479}
480
481strict-options() {
482 test/spec-py.sh run-file strict-options "$@"
483}
484
485subshell() {
486 test/spec-py.sh run-file subshell "$@"
487}
488
489temp-binding() {
490 test/spec-py.sh run-file temp-binding "$@"
491}
492
493tilde() {
494 test/spec-py.sh run-file tilde "$@"
495}
496
497toysh-posix() {
498 test/spec-py.sh run-file toysh-posix "$@"
499}
500
501toysh() {
502 test/spec-py.sh run-file toysh "$@"
503}
504
505type-compat() {
506 test/spec-py.sh run-file type-compat "$@"
507}
508
509unicode() {
510 test/spec-py.sh run-file unicode "$@"
511}
512
513var-num() {
514 test/spec-py.sh run-file var-num "$@"
515}
516
517var-op-bash() {
518 test/spec-py.sh run-file var-op-bash "$@"
519}
520
521var-op-len() {
522 test/spec-py.sh run-file var-op-len "$@"
523}
524
525var-op-patsub() {
526 test/spec-py.sh run-file var-op-patsub "$@"
527}
528
529var-op-slice() {
530 test/spec-py.sh run-file var-op-slice "$@"
531}
532
533var-op-strip() {
534 test/spec-py.sh run-file var-op-strip "$@"
535}
536
537var-op-test() {
538 test/spec-py.sh run-file var-op-test "$@"
539}
540
541var-ref() {
542 test/spec-py.sh run-file var-ref "$@"
543}
544
545var-sub-quote() {
546 test/spec-py.sh run-file var-sub-quote "$@"
547}
548
549var-sub() {
550 test/spec-py.sh run-file var-sub "$@"
551}
552
553vars-bash() {
554 test/spec-py.sh run-file vars-bash "$@"
555}
556
557vars-special() {
558 test/spec-py.sh run-file vars-special "$@"
559}
560
561whitespace() {
562 test/spec-py.sh run-file whitespace "$@"
563}
564
565word-eval() {
566 test/spec-py.sh run-file word-eval "$@"
567}
568
569word-split() {
570 test/spec-py.sh run-file word-split "$@"
571}
572
573xtrace() {
574 test/spec-py.sh run-file xtrace "$@"
575}
576
577ysh-TODO-deprecate() {
578 test/spec-py.sh run-file ysh-TODO-deprecate "$@"
579}
580
581ysh-assign() {
582 test/spec-py.sh run-file ysh-assign "$@"
583}
584
585ysh-augmented() {
586 test/spec-py.sh run-file ysh-augmented "$@"
587}
588
589ysh-bin() {
590 test/spec-py.sh run-file ysh-bin "$@"
591}
592
593ysh-blocks() {
594 test/spec-py.sh run-file ysh-blocks "$@"
595}
596
597ysh-bugs() {
598 test/spec-py.sh run-file ysh-bugs "$@"
599}
600
601ysh-builtin-ctx() {
602 test/spec-py.sh run-file ysh-builtin-ctx "$@"
603}
604
605ysh-builtin-error() {
606 test/spec-py.sh run-file ysh-builtin-error "$@"
607}
608
609ysh-builtin-eval() {
610 test/spec-py.sh run-file ysh-builtin-eval "$@"
611}
612
613ysh-builtin-help() {
614 test/spec-py.sh run-file ysh-builtin-help "$@"
615}
616
617ysh-builtin-meta() {
618 test/spec-py.sh run-file ysh-builtin-meta "$@"
619}
620
621ysh-builtin-module() {
622 test/spec-py.sh run-file ysh-builtin-module "$@"
623}
624
625ysh-builtin-private() {
626 test/spec-py.sh run-file ysh-builtin-private "$@"
627}
628
629ysh-builtin-process() {
630 test/spec-py.sh run-file ysh-builtin-process "$@"
631}
632
633ysh-builtin-shopt() {
634 test/spec-py.sh run-file ysh-builtin-shopt "$@"
635}
636
637ysh-builtin-trap() {
638 test/spec-py.sh run-file ysh-builtin-trap "$@"
639}
640
641ysh-builtins() {
642 test/spec-py.sh run-file ysh-builtins "$@"
643}
644
645ysh-bytecode() {
646 test/spec-py.sh run-file ysh-bytecode "$@"
647}
648
649ysh-case() {
650 test/spec-py.sh run-file ysh-case "$@"
651}
652
653ysh-closures() {
654 test/spec-py.sh run-file ysh-closures "$@"
655}
656
657ysh-cmd-lang() {
658 test/spec-py.sh run-file ysh-cmd-lang "$@"
659}
660
661ysh-command-sub() {
662 test/spec-py.sh run-file ysh-command-sub "$@"
663}
664
665ysh-completion() {
666 test/spec-py.sh run-file ysh-completion "$@"
667}
668
669ysh-control-flow() {
670 test/spec-py.sh run-file ysh-control-flow "$@"
671}
672
673ysh-convert() {
674 test/spec-py.sh run-file ysh-convert "$@"
675}
676
677ysh-demo() {
678 test/spec-py.sh run-file ysh-demo "$@"
679}
680
681ysh-dev() {
682 test/spec-py.sh run-file ysh-dev "$@"
683}
684
685ysh-dict() {
686 test/spec-py.sh run-file ysh-dict "$@"
687}
688
689ysh-env() {
690 test/spec-py.sh run-file ysh-env "$@"
691}
692
693ysh-expr-arith() {
694 test/spec-py.sh run-file ysh-expr-arith "$@"
695}
696
697ysh-expr-bool() {
698 test/spec-py.sh run-file ysh-expr-bool "$@"
699}
700
701ysh-expr-compare() {
702 test/spec-py.sh run-file ysh-expr-compare "$@"
703}
704
705ysh-expr-sub() {
706 test/spec-py.sh run-file ysh-expr-sub "$@"
707}
708
709ysh-expr() {
710 test/spec-py.sh run-file ysh-expr "$@"
711}
712
713ysh-for() {
714 test/spec-py.sh run-file ysh-for "$@"
715}
716
717ysh-func-builtin() {
718 test/spec-py.sh run-file ysh-func-builtin "$@"
719}
720
721ysh-func() {
722 test/spec-py.sh run-file ysh-func "$@"
723}
724
725ysh-funcs-external() {
726 test/spec-py.sh run-file ysh-funcs-external "$@"
727}
728
729ysh-glob() {
730 test/spec-py.sh run-file ysh-glob "$@"
731}
732
733ysh-int-float() {
734 test/spec-py.sh run-file ysh-int-float "$@"
735}
736
737ysh-interactive() {
738 test/spec-py.sh run-file ysh-interactive "$@"
739}
740
741ysh-introspect() {
742 test/spec-py.sh run-file ysh-introspect "$@"
743}
744
745ysh-json() {
746 test/spec-py.sh run-file ysh-json "$@"
747}
748
749ysh-keywords() {
750 test/spec-py.sh run-file ysh-keywords "$@"
751}
752
753ysh-list() {
754 test/spec-py.sh run-file ysh-list "$@"
755}
756
757ysh-method-io() {
758 test/spec-py.sh run-file ysh-method-io "$@"
759}
760
761ysh-method-other() {
762 test/spec-py.sh run-file ysh-method-other "$@"
763}
764
765ysh-methods() {
766 test/spec-py.sh run-file ysh-methods "$@"
767}
768
769ysh-multiline() {
770 test/spec-py.sh run-file ysh-multiline "$@"
771}
772
773ysh-namespaces() {
774 test/spec-py.sh run-file ysh-namespaces "$@"
775}
776
777ysh-nul-bytes() {
778 test/spec-py.sh run-file ysh-nul-bytes "$@"
779}
780
781ysh-object() {
782 test/spec-py.sh run-file ysh-object "$@"
783}
784
785ysh-old() {
786 test/spec-py.sh run-file ysh-old "$@"
787}
788
789ysh-options-assign() {
790 test/spec-py.sh run-file ysh-options-assign "$@"
791}
792
793ysh-options() {
794 test/spec-py.sh run-file ysh-options "$@"
795}
796
797ysh-place() {
798 test/spec-py.sh run-file ysh-place "$@"
799}
800
801ysh-printing() {
802 test/spec-py.sh run-file ysh-printing "$@"
803}
804
805ysh-proc-meta() {
806 test/spec-py.sh run-file ysh-proc-meta "$@"
807}
808
809ysh-proc() {
810 test/spec-py.sh run-file ysh-proc "$@"
811}
812
813ysh-prompt() {
814 test/spec-py.sh run-file ysh-prompt "$@"
815}
816
817ysh-purity() {
818 test/spec-py.sh run-file ysh-purity "$@"
819}
820
821ysh-regex-api() {
822 test/spec-py.sh run-file ysh-regex-api "$@"
823}
824
825ysh-regex-bytes-chars() {
826 test/spec-py.sh run-file ysh-regex-bytes-chars "$@"
827}
828
829ysh-regex() {
830 test/spec-py.sh run-file ysh-regex "$@"
831}
832
833ysh-reserved() {
834 test/spec-py.sh run-file ysh-reserved "$@"
835}
836
837ysh-scope() {
838 test/spec-py.sh run-file ysh-scope "$@"
839}
840
841ysh-slice-range() {
842 test/spec-py.sh run-file ysh-slice-range "$@"
843}
844
845ysh-source() {
846 test/spec-py.sh run-file ysh-source "$@"
847}
848
849ysh-special-vars() {
850 test/spec-py.sh run-file ysh-special-vars "$@"
851}
852
853ysh-stdlib-args() {
854 test/spec-py.sh run-file ysh-stdlib-args "$@"
855}
856
857ysh-stdlib() {
858 test/spec-py.sh run-file ysh-stdlib "$@"
859}
860
861ysh-string() {
862 test/spec-py.sh run-file ysh-string "$@"
863}
864
865ysh-tuple() {
866 test/spec-py.sh run-file ysh-tuple "$@"
867}
868
869ysh-unicode() {
870 test/spec-py.sh run-file ysh-unicode "$@"
871}
872
873ysh-usage() {
874 test/spec-py.sh run-file ysh-usage "$@"
875}
876
877ysh-user-feedback() {
878 test/spec-py.sh run-file ysh-user-feedback "$@"
879}
880
881ysh-var-sub() {
882 test/spec-py.sh run-file ysh-var-sub "$@"
883}
884
885ysh-with-sh() {
886 test/spec-py.sh run-file ysh-with-sh "$@"
887}
888
889ysh-word-eval() {
890 test/spec-py.sh run-file ysh-word-eval "$@"
891}
892
893ysh-xtrace() {
894 test/spec-py.sh run-file ysh-xtrace "$@"
895}
896
897zsh-assoc() {
898 test/spec-py.sh run-file zsh-assoc "$@"
899}
900
901zsh-idioms() {
902 test/spec-py.sh run-file zsh-idioms "$@"
903}
904
905task-five "$@"