23 lines
652 B
Bash
Executable File
23 lines
652 B
Bash
Executable File
#! /bin/sh -pe
|
|
|
|
# librsync test case.
|
|
# Copyright (C) 2000 by Martin Pool
|
|
|
|
# Test the map_ptr input routines, by extracting chunks of a file
|
|
# using a known-good Python implementation, and also by passing the
|
|
# same parameters to the hsmapread driver.
|
|
|
|
# Id: isprefix.test,v 1.2 2001/03/05 07:09:37 mbp Exp
|
|
|
|
run_test isprefix.driver foo foobar
|
|
run_test isprefix.driver '' foobar
|
|
run_test isprefix.driver foobar foobar
|
|
run_test isprefix.driver f f
|
|
run_test isprefix.driver '' ''
|
|
run_test isprefix.driver f foobar
|
|
|
|
run_test isprefix.driver ! foobar foo
|
|
run_test isprefix.driver ! goo foo
|
|
run_test isprefix.driver ! foo ''
|
|
run_test isprefix.driver ! f g
|