7ef0d62730
Merge commit '1b593e1ea4d2af0f6444d9a7788d5d99abd6fde5' as 'third_party/git'
22 lines
277 B
Text
22 lines
277 B
Text
(
|
|
chks="sub1
|
|
sub2
|
|
sub3
|
|
sub4" &&
|
|
chks_sub=$(cat <<TXT | sed 's,^,sub dir/,'
|
|
$chks
|
|
TXT
|
|
) &&
|
|
chkms="main-sub1
|
|
main-sub2
|
|
main-sub3
|
|
main-sub4" &&
|
|
chkms_sub=$(cat <<TXT | sed 's,^,sub dir/,'
|
|
$chkms
|
|
TXT
|
|
) &&
|
|
|
|
subfiles=$(git ls-files) &&
|
|
check_equal "$subfiles" "$chkms
|
|
$chks"
|
|
)
|