tests: Fix paths for testsuite
make distcheck gets confused what is in srcdir and what is in topdir Signed-off-by: Craig Small <csmall@dropbear.xyz>
This commit is contained in:
parent
76a8d7b5cb
commit
cce0e21e59
@ -8,12 +8,12 @@ set test "without argument"
|
||||
spawn $noarg
|
||||
expect_pass "$test" "Hello, World!"
|
||||
|
||||
set badfd "${topdir}testsuite/lib.test/fileutils_badfd.sh"
|
||||
set badfd "${srcdir}/lib.test/fileutils_badfd.sh"
|
||||
set test "test bad file descriptor"
|
||||
spawn $badfd
|
||||
expect_pass "$test" "test_fileutils: write error: Bad file descriptor"
|
||||
|
||||
set full "${topdir}testsuite/lib.test/fileutils_full.sh"
|
||||
set full "${srcdir}/lib.test/fileutils_full.sh"
|
||||
set test "test no space left on device"
|
||||
spawn $full
|
||||
expect_pass "$test" "test_fileutils: write error: No space left on device"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
BASEDIR=$(dirname ${0})
|
||||
${BASEDIR}/../../lib/test_fileutils >&-
|
||||
${PWD}/../lib/test_fileutils >&-
|
||||
|
@ -1,4 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
BASEDIR=$(dirname ${0})
|
||||
${BASEDIR}/../../lib/test_fileutils > /dev/full
|
||||
${PWD}/../lib/test_fileutils > /dev/full
|
||||
|
Loading…
Reference in New Issue
Block a user