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

861 lines, 638 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
293glob-bash() {
294 test/spec-py.sh run-file glob-bash "$@"
295}
296
297globignore() {
298 test/spec-py.sh run-file globignore "$@"
299}
300
301globstar() {
302 test/spec-py.sh run-file globstar "$@"
303}
304
305glob() {
306 test/spec-py.sh run-file glob "$@"
307}
308
309hay-isolation() {
310 test/spec-py.sh run-file hay-isolation "$@"
311}
312
313hay-meta() {
314 test/spec-py.sh run-file hay-meta "$@"
315}
316
317hay() {
318 test/spec-py.sh run-file hay "$@"
319}
320
321here-doc() {
322 test/spec-py.sh run-file here-doc "$@"
323}
324
325if_() {
326 test/spec-py.sh run-file if_ "$@"
327}
328
329interactive-parse() {
330 test/spec-py.sh run-file interactive-parse "$@"
331}
332
333interactive() {
334 test/spec-py.sh run-file interactive "$@"
335}
336
337introspect() {
338 test/spec-py.sh run-file introspect "$@"
339}
340
341let() {
342 test/spec-py.sh run-file let "$@"
343}
344
345loop() {
346 test/spec-py.sh run-file loop "$@"
347}
348
349nameref() {
350 test/spec-py.sh run-file nameref "$@"
351}
352
353nix-idioms() {
354 test/spec-py.sh run-file nix-idioms "$@"
355}
356
357nocasematch-match() {
358 test/spec-py.sh run-file nocasematch-match "$@"
359}
360
361nul-bytes() {
362 test/spec-py.sh run-file nul-bytes "$@"
363}
364
365osh-bugs() {
366 test/spec-py.sh run-file osh-bugs "$@"
367}
368
369parse-errors() {
370 test/spec-py.sh run-file parse-errors "$@"
371}
372
373pipeline() {
374 test/spec-py.sh run-file pipeline "$@"
375}
376
377posix() {
378 test/spec-py.sh run-file posix "$@"
379}
380
381print-source-code() {
382 test/spec-py.sh run-file print-source-code "$@"
383}
384
385process-sub() {
386 test/spec-py.sh run-file process-sub "$@"
387}
388
389prompt() {
390 test/spec-py.sh run-file prompt "$@"
391}
392
393quote() {
394 test/spec-py.sh run-file quote "$@"
395}
396
397redirect-command() {
398 test/spec-py.sh run-file redirect-command "$@"
399}
400
401redirect-multi() {
402 test/spec-py.sh run-file redirect-multi "$@"
403}
404
405redirect() {
406 test/spec-py.sh run-file redirect "$@"
407}
408
409redir-order() {
410 test/spec-py.sh run-file redir-order "$@"
411}
412
413regex() {
414 test/spec-py.sh run-file regex "$@"
415}
416
417serialize() {
418 test/spec-py.sh run-file serialize "$@"
419}
420
421shell-bugs() {
422 test/spec-py.sh run-file shell-bugs "$@"
423}
424
425shell-grammar() {
426 test/spec-py.sh run-file shell-grammar "$@"
427}
428
429sh-func() {
430 test/spec-py.sh run-file sh-func "$@"
431}
432
433sh-options-bash() {
434 test/spec-py.sh run-file sh-options-bash "$@"
435}
436
437sh-options() {
438 test/spec-py.sh run-file sh-options "$@"
439}
440
441sh-usage() {
442 test/spec-py.sh run-file sh-usage "$@"
443}
444
445smoke() {
446 test/spec-py.sh run-file smoke "$@"
447}
448
449spec-harness-bug() {
450 test/spec-py.sh run-file spec-harness-bug "$@"
451}
452
453strict-options() {
454 test/spec-py.sh run-file strict-options "$@"
455}
456
457subshell() {
458 test/spec-py.sh run-file subshell "$@"
459}
460
461temp-binding() {
462 test/spec-py.sh run-file temp-binding "$@"
463}
464
465tilde() {
466 test/spec-py.sh run-file tilde "$@"
467}
468
469toysh-posix() {
470 test/spec-py.sh run-file toysh-posix "$@"
471}
472
473toysh() {
474 test/spec-py.sh run-file toysh "$@"
475}
476
477type-compat() {
478 test/spec-py.sh run-file type-compat "$@"
479}
480
481unicode() {
482 test/spec-py.sh run-file unicode "$@"
483}
484
485var-num() {
486 test/spec-py.sh run-file var-num "$@"
487}
488
489var-op-bash() {
490 test/spec-py.sh run-file var-op-bash "$@"
491}
492
493var-op-len() {
494 test/spec-py.sh run-file var-op-len "$@"
495}
496
497var-op-patsub() {
498 test/spec-py.sh run-file var-op-patsub "$@"
499}
500
501var-op-slice() {
502 test/spec-py.sh run-file var-op-slice "$@"
503}
504
505var-op-strip() {
506 test/spec-py.sh run-file var-op-strip "$@"
507}
508
509var-op-test() {
510 test/spec-py.sh run-file var-op-test "$@"
511}
512
513var-ref() {
514 test/spec-py.sh run-file var-ref "$@"
515}
516
517vars-bash() {
518 test/spec-py.sh run-file vars-bash "$@"
519}
520
521vars-special() {
522 test/spec-py.sh run-file vars-special "$@"
523}
524
525var-sub-quote() {
526 test/spec-py.sh run-file var-sub-quote "$@"
527}
528
529var-sub() {
530 test/spec-py.sh run-file var-sub "$@"
531}
532
533whitespace() {
534 test/spec-py.sh run-file whitespace "$@"
535}
536
537word-eval() {
538 test/spec-py.sh run-file word-eval "$@"
539}
540
541word-split() {
542 test/spec-py.sh run-file word-split "$@"
543}
544
545xtrace() {
546 test/spec-py.sh run-file xtrace "$@"
547}
548
549ysh-assign() {
550 test/spec-py.sh run-file ysh-assign "$@"
551}
552
553ysh-augmented() {
554 test/spec-py.sh run-file ysh-augmented "$@"
555}
556
557ysh-bin() {
558 test/spec-py.sh run-file ysh-bin "$@"
559}
560
561ysh-blocks() {
562 test/spec-py.sh run-file ysh-blocks "$@"
563}
564
565ysh-bugs() {
566 test/spec-py.sh run-file ysh-bugs "$@"
567}
568
569ysh-builtin-ctx() {
570 test/spec-py.sh run-file ysh-builtin-ctx "$@"
571}
572
573ysh-builtin-error() {
574 test/spec-py.sh run-file ysh-builtin-error "$@"
575}
576
577ysh-builtin-eval() {
578 test/spec-py.sh run-file ysh-builtin-eval "$@"
579}
580
581ysh-builtin-help() {
582 test/spec-py.sh run-file ysh-builtin-help "$@"
583}
584
585ysh-builtin-meta() {
586 test/spec-py.sh run-file ysh-builtin-meta "$@"
587}
588
589ysh-builtin-module() {
590 test/spec-py.sh run-file ysh-builtin-module "$@"
591}
592
593ysh-builtin-private() {
594 test/spec-py.sh run-file ysh-builtin-private "$@"
595}
596
597ysh-builtin-process() {
598 test/spec-py.sh run-file ysh-builtin-process "$@"
599}
600
601ysh-builtin-shopt() {
602 test/spec-py.sh run-file ysh-builtin-shopt "$@"
603}
604
605ysh-builtins() {
606 test/spec-py.sh run-file ysh-builtins "$@"
607}
608
609ysh-bytecode() {
610 test/spec-py.sh run-file ysh-bytecode "$@"
611}
612
613ysh-case() {
614 test/spec-py.sh run-file ysh-case "$@"
615}
616
617ysh-closures() {
618 test/spec-py.sh run-file ysh-closures "$@"
619}
620
621ysh-cmd-lang() {
622 test/spec-py.sh run-file ysh-cmd-lang "$@"
623}
624
625ysh-command-sub() {
626 test/spec-py.sh run-file ysh-command-sub "$@"
627}
628
629ysh-completion() {
630 test/spec-py.sh run-file ysh-completion "$@"
631}
632
633ysh-control-flow() {
634 test/spec-py.sh run-file ysh-control-flow "$@"
635}
636
637ysh-convert() {
638 test/spec-py.sh run-file ysh-convert "$@"
639}
640
641ysh-demo() {
642 test/spec-py.sh run-file ysh-demo "$@"
643}
644
645ysh-dev() {
646 test/spec-py.sh run-file ysh-dev "$@"
647}
648
649ysh-dict() {
650 test/spec-py.sh run-file ysh-dict "$@"
651}
652
653ysh-env() {
654 test/spec-py.sh run-file ysh-env "$@"
655}
656
657ysh-expr-arith() {
658 test/spec-py.sh run-file ysh-expr-arith "$@"
659}
660
661ysh-expr-bool() {
662 test/spec-py.sh run-file ysh-expr-bool "$@"
663}
664
665ysh-expr-compare() {
666 test/spec-py.sh run-file ysh-expr-compare "$@"
667}
668
669ysh-expr-sub() {
670 test/spec-py.sh run-file ysh-expr-sub "$@"
671}
672
673ysh-expr() {
674 test/spec-py.sh run-file ysh-expr "$@"
675}
676
677ysh-for() {
678 test/spec-py.sh run-file ysh-for "$@"
679}
680
681ysh-func-builtin() {
682 test/spec-py.sh run-file ysh-func-builtin "$@"
683}
684
685ysh-funcs-external() {
686 test/spec-py.sh run-file ysh-funcs-external "$@"
687}
688
689ysh-func() {
690 test/spec-py.sh run-file ysh-func "$@"
691}
692
693ysh-interactive() {
694 test/spec-py.sh run-file ysh-interactive "$@"
695}
696
697ysh-int-float() {
698 test/spec-py.sh run-file ysh-int-float "$@"
699}
700
701ysh-introspect() {
702 test/spec-py.sh run-file ysh-introspect "$@"
703}
704
705ysh-json() {
706 test/spec-py.sh run-file ysh-json "$@"
707}
708
709ysh-keywords() {
710 test/spec-py.sh run-file ysh-keywords "$@"
711}
712
713ysh-list() {
714 test/spec-py.sh run-file ysh-list "$@"
715}
716
717ysh-method-io() {
718 test/spec-py.sh run-file ysh-method-io "$@"
719}
720
721ysh-method-other() {
722 test/spec-py.sh run-file ysh-method-other "$@"
723}
724
725ysh-methods() {
726 test/spec-py.sh run-file ysh-methods "$@"
727}
728
729ysh-multiline() {
730 test/spec-py.sh run-file ysh-multiline "$@"
731}
732
733ysh-namespaces() {
734 test/spec-py.sh run-file ysh-namespaces "$@"
735}
736
737ysh-nul-bytes() {
738 test/spec-py.sh run-file ysh-nul-bytes "$@"
739}
740
741ysh-object() {
742 test/spec-py.sh run-file ysh-object "$@"
743}
744
745ysh-options-assign() {
746 test/spec-py.sh run-file ysh-options-assign "$@"
747}
748
749ysh-options() {
750 test/spec-py.sh run-file ysh-options "$@"
751}
752
753ysh-place() {
754 test/spec-py.sh run-file ysh-place "$@"
755}
756
757ysh-printing() {
758 test/spec-py.sh run-file ysh-printing "$@"
759}
760
761ysh-proc-meta() {
762 test/spec-py.sh run-file ysh-proc-meta "$@"
763}
764
765ysh-proc() {
766 test/spec-py.sh run-file ysh-proc "$@"
767}
768
769ysh-prompt() {
770 test/spec-py.sh run-file ysh-prompt "$@"
771}
772
773ysh-purity() {
774 test/spec-py.sh run-file ysh-purity "$@"
775}
776
777ysh-regex-api() {
778 test/spec-py.sh run-file ysh-regex-api "$@"
779}
780
781ysh-regex() {
782 test/spec-py.sh run-file ysh-regex "$@"
783}
784
785ysh-reserved() {
786 test/spec-py.sh run-file ysh-reserved "$@"
787}
788
789ysh-scope() {
790 test/spec-py.sh run-file ysh-scope "$@"
791}
792
793ysh-slice-range() {
794 test/spec-py.sh run-file ysh-slice-range "$@"
795}
796
797ysh-source() {
798 test/spec-py.sh run-file ysh-source "$@"
799}
800
801ysh-special-vars() {
802 test/spec-py.sh run-file ysh-special-vars "$@"
803}
804
805ysh-stdlib-args() {
806 test/spec-py.sh run-file ysh-stdlib-args "$@"
807}
808
809ysh-stdlib() {
810 test/spec-py.sh run-file ysh-stdlib "$@"
811}
812
813ysh-string() {
814 test/spec-py.sh run-file ysh-string "$@"
815}
816
817ysh-TODO-deprecate() {
818 test/spec-py.sh run-file ysh-TODO-deprecate "$@"
819}
820
821ysh-tuple() {
822 test/spec-py.sh run-file ysh-tuple "$@"
823}
824
825ysh-unicode() {
826 test/spec-py.sh run-file ysh-unicode "$@"
827}
828
829ysh-usage() {
830 test/spec-py.sh run-file ysh-usage "$@"
831}
832
833ysh-user-feedback() {
834 test/spec-py.sh run-file ysh-user-feedback "$@"
835}
836
837ysh-var-sub() {
838 test/spec-py.sh run-file ysh-var-sub "$@"
839}
840
841ysh-with-sh() {
842 test/spec-py.sh run-file ysh-with-sh "$@"
843}
844
845ysh-word-eval() {
846 test/spec-py.sh run-file ysh-word-eval "$@"
847}
848
849ysh-xtrace() {
850 test/spec-py.sh run-file ysh-xtrace "$@"
851}
852
853zsh-assoc() {
854 test/spec-py.sh run-file zsh-assoc "$@"
855}
856
857zsh-idioms() {
858 test/spec-py.sh run-file zsh-idioms "$@"
859}
860
861task-five "$@"