17 lines · plain
1# RUN: not %split-file %s %t 2>&1 | FileCheck %s2# RUN: not ls %t/dup3 4# CHECK: {{.*}}.test:[[#@LINE+1]]: error: empty part name5//--- 6 7# CHECK: {{.*}}.test:[[#@LINE+1]]: error: part name cannot have leading or trailing space8//--- leading_space9 10# CHECK: {{.*}}.test:[[#@LINE+1]]: error: part name cannot have leading or trailing space11//--- trailing_space 12 13;--- dup14 15# CHECK: {{.*}}.test:[[#@LINE+1]]: error: ';--- dup' occurs more than once16;--- dup17