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

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