Reorg test fixtures

This commit is contained in:
Joshua Peek
2012-06-07 12:17:24 -05:00
parent a708993388
commit 4df3199818
153 changed files with 130 additions and 314 deletions

1
test/fixtures/shell/.bash_profile vendored Normal file
View File

@@ -0,0 +1 @@
export PATH="/usr/local/bin:/usr/bin:/bin"

1
test/fixtures/shell/.bashrc vendored Normal file
View File

@@ -0,0 +1 @@
export PATH="/usr/local/bin:/usr/bin:/bin"

1
test/fixtures/shell/.profile vendored Normal file
View File

@@ -0,0 +1 @@
export PATH="/usr/local/bin:/usr/bin:/bin"

1
test/fixtures/shell/.zlogin vendored Normal file
View File

@@ -0,0 +1 @@
export PATH="/usr/local/bin:/usr/bin:/bin"

1
test/fixtures/shell/.zshrc vendored Normal file
View File

@@ -0,0 +1 @@
export PATH="/usr/local/bin:/usr/bin:/bin"

43
test/fixtures/shell/PKGBUILD vendored Normal file
View File

@@ -0,0 +1,43 @@
# Maintainer: Daniel Micay <danielmicay@gmail.com>
pkgname=stud-git
pkgver=20120316
pkgrel=1
pkgdesc="The Scalable TLS Unwrapping Daemon"
arch=(i686 x86_64)
url="https://github.com/bumptech/stud"
license=('BSD')
depends=(libev openssl)
makedepends=(git)
provides=(stud)
conflicts=(stud)
_gitroot=https://github.com/bumptech/stud.git
_gitname=stud
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [[ -d "$_gitname" ]]; then
cd "$_gitname" && git pull origin
msg "The local files are updated."
else
git clone "$_gitroot" "$_gitname"
fi
msg "GIT checkout done or server timeout"
msg "Starting build..."
rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
make
}
package() {
cd "$srcdir/$_gitname-build"
make PREFIX=/usr DESTDIR="$pkgdir/" install
install -Dm755 init.stud "$pkgdir/etc/rc.d/stud"
mkdir -p "$pkgdir/etc/stud"
}

2
test/fixtures/shell/script.bash vendored Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
echo "bash"

2
test/fixtures/shell/script.sh vendored Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
echo "sh"

2
test/fixtures/shell/script.zsh vendored Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/zsh
echo "zsh"