diff options
| -rwxr-xr-x | test/main | 1 | ||||
| -rw-r--r-- | test/pull | 6 | ||||
| -rw-r--r-- | test/pull-prepare | 9 | 
3 files changed, 16 insertions, 0 deletions
@@ -72,6 +72,7 @@ for conf_origin in 0 1; {  		cd $test_pdir/$repo  		source $tests/push  		cd $test_pdir +		source $tests/pull-prepare  		source $tests/remove  	}  } diff --git a/test/pull b/test/pull new file mode 100644 index 0000000..c6a410a --- /dev/null +++ b/test/pull @@ -0,0 +1,6 @@ +## vim:ft=zsh +if [[ $repo == $file ]] { +	echo "# pkg pull" +	pkg pull +	[[ -f $pkgdir/$repo/baz ]] +} diff --git a/test/pull-prepare b/test/pull-prepare new file mode 100644 index 0000000..a7022fe --- /dev/null +++ b/test/pull-prepare @@ -0,0 +1,9 @@ +## vim:ft=zsh +if [[ $repo == $file ]] { +	echo "# Creating new commit in PKG_ROOT" +	cd $test_proot/$file +	git checkout -f +	echo $RANDOM > baz +	git add baz +	git commit -m 'floeppel' +}  | 
