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

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