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

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