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

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