3 # Copyright (c) 2009 David Kågedal
6 test_description
='Exercise pushing patches with --set-tree.'
11 'Create initial patches' '
14 echo hello world > a &&
18 echo HELLO WORLD > a &&
23 'Back up and create a partial patch' '
26 echo hello WORLD > a &&
39 test "$(echo $(cat a))" = "hello world" &&
41 test "$(echo $(cat a))" = "hello WORLD" &&
43 test "$(echo $(cat a))" = "HELLO WORLD"