소스 검색

Inject arbitrary fails into xcosi

Alois Mahdal 7 년 전
부모
커밋
652895e5fe
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3
    0
      src/xcosi/test

+ 3
- 0
src/xcosi/test 파일 보기

@@ -16,6 +16,9 @@ xcase__setup() {
16 16
 xcase__test() {
17 17
     jat__cmd test -s Foo
18 18
     jat__cmd test -s Bar
19
+    test "$Foo:$Bar" == "f1:b2" && jat__cmd false
20
+    test "$Foo:$Bar" == "f0:b0" && jat__log_warning heya
21
+    test "$Foo:$Bar" == "f1:b1" && jat__log_error kaboom
19 22
 }
20 23
 
21 24
 xcase__run -v