hV6,sum=46291
s 00024/00000/00029
d D 1.3 2018/12/02 10:05:24+0100 joerg 3 2
S s 11306
c Neuer Test mit noch laengeren Zeilen und nun auch mit delta
e
s 00001/00001/00028
d D 1.2 2015/06/03 00:06:45+0200 joerg 2 1
S s 34990
c ../common/test-common -> ../../common/test-common
e
s 00029/00000/00000
d D 1.1 2011/05/29 20:20:45+0200 joerg 1 0
S s 34851
c date and time created 11/05/29 20:20:45 by joerg
e
u
U
f e 0
G r 0e46e8b63031b
G p sccs/tests/sccstests/large/long.sh
t
T
I 1
#! /bin/sh

# Basic tests for SCCS long lines

# Read test core functions
D 2
. ../common/test-common
E 2
I 2
. ../../common/test-common
E 2

g=foo
s=s.$g
p=p.$g
z=z.$g
output=get.output

remove $z $s $p $g

cp long $g
expect_fail=true
docommand l1 "${admin} -n -i$g $s" 0 "" IGNORE
remove $g
docommand l2 "${get} $s" 0 IGNORE IGNORE
if cmp long $g
then
	echo "PASS Long lines are supported"
else
	fail "Long lines are not supported"
fi
I 3
remove $s $g
E 3

I 3
cp long2 $g
expect_fail=true
docommand l3 "${admin} -n -i$g $s" 0 "" IGNORE
remove $g
docommand l4 "${get} -p $s > $output" 0 IGNORE IGNORE
if cmp long2 $output
then
	:
else
	xfail "Very long lines are not supported"
fi
docommand l5 "${get} -e $s" 0 IGNORE IGNORE
cat long2 >> $g
cp $g $output
docommand l6 "${delta} -yComment $s" 0 IGNORE IGNORE
docommand l7 "${get} $s" 0 IGNORE IGNORE
if cmp $g $output
then
	echo "PASS Very long lines are supported"
else
	xfail "Very long lines are not supported"
fi

E 3
remove $z $s $p $g $output
success
E 1
