diff options
author | mwberry | 2016-11-12 15:21:42 -0800 |
---|---|---|
committer | mwberry | 2016-11-12 18:33:30 -0800 |
commit | d3fce84a07960300a827874aa82a214f88c9f49f (patch) | |
tree | 64763364135afdd90760c84bba631dcc2253b9a4 /test_hook | |
parent | d334424416582ded5ede4d8f2dffc8c175aaafd9 (diff) | |
download | aur-d3fce84a07960300a827874aa82a214f88c9f49f.tar.gz |
init hook
Diffstat (limited to 'test_hook')
-rwxr-xr-x | test_hook | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test_hook b/test_hook new file mode 100755 index 000000000000..b49c6e5722df --- /dev/null +++ b/test_hook @@ -0,0 +1,11 @@ +#!/bin/bash + +# Simply a test harness to execute the init hook +# while developing + + +/usr/lib/initcpio/busybox ash <<TEST_HARNESS + source ./hook + + run_hook "$1" +TEST_HARNESS |