diff options
Diffstat (limited to 'tests/exe')
-rwxr-xr-x | tests/exe/ob-installplatconf.sh | 39 | ||||
-rwxr-xr-x | tests/exe/opkbuild.sh | 2 |
2 files changed, 3 insertions, 38 deletions
diff --git a/tests/exe/ob-installplatconf.sh b/tests/exe/ob-installplatconf.sh index 1279428..f2311c0 100755 --- a/tests/exe/ob-installplatconf.sh +++ b/tests/exe/ob-installplatconf.sh @@ -27,46 +27,11 @@ plan_ 6 export OB_TEST_DATADIR= for dir in 'foo' 'foo_1.0' 'foo_1.'; do - OB_TEST_DATADIR="${TOP_SRCDIR}/tests/data/platconf_${dir}" + OB_TEST_DATADIR=${TOP_BUILDDIR}/tests/data.build/platconf_${dir} rm -f 'poem' command_ok_ 'ob-installplatconf exit status' -- \ ob-installplatconf cmd_is 'correct file copied' cat 'poem' <<-EOF - JABBERWOCKY - - 'Twas brillig, and the slithy toves - Did gyre and gimble in the wabe; - All mimsy were the borogoves, - And the mome raths outgrabe. - - 'Beware the Jabberwock, my son! - The jaws that bite, the claws that catch! - Beware the Jubjub bird, and shun - The frumious Bandersnatch!' - - He took his vorpal sword in hand: - Long time the manxome foe he sought-- - So rested he by the Tumtum tree, - And stood awhile in thought. - - And as in uffish thought he stood, - The Jabberwock, with eyes of flame, - Came whiffling through the tulgey wood, - And burbled as it came! - - One, two! One, two! And through and through - The vorpal blade went snicker-snack! - He left it dead, and with its head - He went galumphing back. - - 'And hast thou slain the Jabberwock? - Come to my arms, my beamish boy! - O frabjous day! Callooh! Callay!' - He chortled in his joy. - - 'Twas brillig, and the slithy toves - Did gyre and gimble in the wabe; - All mimsy were the borogoves, - And the mome raths outgrabe. + ${POEM_GOOD} EOF done diff --git a/tests/exe/opkbuild.sh b/tests/exe/opkbuild.sh index 13dc154..47fdcf7 100755 --- a/tests/exe/opkbuild.sh +++ b/tests/exe/opkbuild.sh @@ -41,7 +41,7 @@ ls_inner() plan_ 12 -export OB_TEST_DATADIR="${TOP_SRCDIR}/tests/data/platconf_foo" +export OB_TEST_DATADIR="${TOP_BUILDDIR}/tests/data.build/platconf_foo" # Get out of and remove the work area. cd '../' |