summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4457d4f)
raw | patch | inline | side by side (parent: 4457d4f)
author | Eric Wong <normalperson@yhbt.net> | |
Sun, 7 Sep 2008 01:29:12 +0000 (18:29 -0700) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Sun, 7 Sep 2008 01:53:55 +0000 (18:53 -0700) |
Spawn subshells when running things in subdirectories instead of
chdir-ing to the path of an undefined variable, which is
confusing.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
chdir-ing to the path of an undefined variable, which is
confusing.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
t/t9124-git-svn-dcommit-auto-props.sh | patch | blob | history |
index 8223c5909e6ff6936cb0ccf4d0badfe43491af46..54276bf115222dca76d3879858db8bafe0618cdf 100755 (executable)
'
test_expect_success 'enable auto-props config' '
- cd "$gittestrepo" &&
mkdir user &&
generate_auto_props yes >user/config
'
test_expect_success 'add files matching auto-props' '
- cd "$gittestrepo" &&
echo "#!$SHELL_PATH" >exec1.sh &&
chmod +x exec1.sh &&
echo "hello" >hello.txt &&
'
test_expect_success 'disable auto-props config' '
- cd "$gittestrepo" &&
generate_auto_props no >user/config
'
test_expect_success 'add files matching disabled auto-props' '
- cd "$gittestrepo" &&
echo "#$SHELL_PATH" >exec2.sh &&
chmod +x exec2.sh &&
echo "world" >world.txt &&
'
test_expect_success 'check resulting svn repository' '
+(
mkdir work &&
cd work &&
svn co "$svnrepo" &&
test "x$(svn propget svn:mime-type world.txt)" = "x" &&
test "x$(svn propget svn:eol-style world.txt)" = "x" &&
test "x$(svn propget svn:mime-type zot)" = "x"
+)
'
test_done