1#!/bin/sh23test_description='Test strcmp_offset functionality'45. ./test-lib.sh67while read s1 s2 expect8do9test_expect_success "strcmp_offset($s1, $s2)" '10echo "$expect" >expect &&11test-strcmp-offset "$s1" "$s2" >actual &&12test_cmp expect actual13'14done <<-EOF15abc abc 0 316abc def -1 017abc abz -1 218abc abcdef -1 319EOF2021test_done