mirror of
https://github.com/sobolevn/git-secret
synced 2024-10-31 21:20:29 +00:00
test 'DESTDIR=/dir/here make install' support (#438)
This commit is contained in:
parent
4bcf6c054a
commit
be88da4c0c
14
tests/test_make_install.bats
Normal file
14
tests/test_make_install.bats
Normal file
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bats
|
||||
|
||||
|
||||
INSTALL_BASE="/tmp/git-secret-test-install"
|
||||
|
||||
@test "install git-secret to '$INSTALL_BASE'" {
|
||||
|
||||
rm -f "${INSTALL_BASE}/usr/bin/git-secret"
|
||||
|
||||
cd $SECRET_PROJECT_ROOT && DESTDIR="${INSTALL_BASE}" make install
|
||||
|
||||
[ -x "${INSTALL_BASE}/usr/bin/git-secret" ]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user