Unit Tests

- Modified the test_hooks/* scripts to use /bin/sh, which is portable. When
  using /bin/bash, Cygwin and FreeBSD silently fail.
This commit is contained in:
Paul Beckingham
2015-02-07 10:22:07 -05:00
parent 04be198281
commit 8b28c36485
22 changed files with 22 additions and 22 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-add event is triggered separately for each task added. This hook # The on-add event is triggered separately for each task added. This hook
# script can accept/reject the addition. Processing will continue. # script can accept/reject the addition. Processing will continue.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-add event is triggered separately for each task added. This hook # The on-add event is triggered separately for each task added. This hook
# script can accept/reject the addition. Processing will continue. # script can accept/reject the addition. Processing will continue.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-add event is triggered separately for each task added. This hook # The on-add event is triggered separately for each task added. This hook
# script can accept/reject the addition. Processing will continue. # script can accept/reject the addition. Processing will continue.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-add event is triggered separately for each task added. This hook # The on-add event is triggered separately for each task added. This hook
# script can accept/reject the addition. Processing will continue. # script can accept/reject the addition. Processing will continue.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-add event is triggered separately for each task added. This hook # The on-add event is triggered separately for each task added. This hook
# script can accept/reject the addition. Processing will continue. # script can accept/reject the addition. Processing will continue.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-add event is triggered separately for each task added. This hook # The on-add event is triggered separately for each task added. This hook
# script can accept/reject the addition. Processing will continue. # script can accept/reject the addition. Processing will continue.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-add event is triggered separately for each task added. This hook # The on-add event is triggered separately for each task added. This hook
# script can accept/reject the addition. Processing will continue. # script can accept/reject the addition. Processing will continue.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-add event is triggered separately for each task added. This hook # The on-add event is triggered separately for each task added. This hook
# script can accept/reject the addition. Processing will continue. # script can accept/reject the addition. Processing will continue.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-exit event is triggered once, after all processing is complete. # The on-exit event is triggered once, after all processing is complete.
# This hooks script has no effect on processing. # This hooks script has no effect on processing.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-exit event is triggered once, after all processing is complete. # The on-exit event is triggered once, after all processing is complete.
# This hooks script has no effect on processing. # This hooks script has no effect on processing.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-exit event is triggered once, after all processing is complete. # The on-exit event is triggered once, after all processing is complete.
# This hooks script has no effect on processing. # This hooks script has no effect on processing.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-launch event is triggered once, after initialization, before any # The on-launch event is triggered once, after initialization, before any
# processing occurs. This hooks script has no effect on processing. # processing occurs. This hooks script has no effect on processing.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-launch event is triggered once, after initialization, before any # The on-launch event is triggered once, after initialization, before any
# processing occurs. This hooks script has no effect on processing. # processing occurs. This hooks script has no effect on processing.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-launch event is triggered once, after initialization, before any # The on-launch event is triggered once, after initialization, before any
# processing occurs. This hooks script has no effect on processing. # processing occurs. This hooks script has no effect on processing.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-modify event is triggered separately for each task modified. This hook # The on-modify event is triggered separately for each task modified. This hook
# script can accept/reject the modification. Processing will continue. # script can accept/reject the modification. Processing will continue.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-modify event is triggered separately for each task modified. This hook # The on-modify event is triggered separately for each task modified. This hook
# script can accept/reject the modification. Processing will continue. # script can accept/reject the modification. Processing will continue.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-modify event is triggered separately for each task modified. This hook # The on-modify event is triggered separately for each task modified. This hook
# script can accept/reject the modification. Processing will continue. # script can accept/reject the modification. Processing will continue.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-modify event is triggered separately for each task modified. This hook # The on-modify event is triggered separately for each task modified. This hook
# script can accept/reject the modification. Processing will continue. # script can accept/reject the modification. Processing will continue.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-modify event is triggered separately for each task modified. This hook # The on-modify event is triggered separately for each task modified. This hook
# script can accept/reject the modification. Processing will continue. # script can accept/reject the modification. Processing will continue.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-modify event is triggered separately for each task modified. This hook # The on-modify event is triggered separately for each task modified. This hook
# script can accept/reject the modification. Processing will continue. # script can accept/reject the modification. Processing will continue.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# The on-modify event is triggered separately for each task modified. This hook # The on-modify event is triggered separately for each task modified. This hook
# script can accept/reject the modification. Processing will continue. # script can accept/reject the modification. Processing will continue.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
SELF=$(basename $0) SELF=$(basename $0)
ORIGINALHOOK="$(dirname $0)/original_${SELF}" ORIGINALHOOK="$(dirname $0)/original_${SELF}"