testsuite: Update the library tests for new location
Signed-off-by: Craig Small <csmall@dropbear.xyz>
This commit is contained in:
parent
1502648ff9
commit
15a0a71406
@ -287,7 +287,7 @@ library_libproc2_la_SOURCES = \
|
|||||||
library/uptime.c \
|
library/uptime.c \
|
||||||
library/include/xtra-procps-debug.h
|
library/include/xtra-procps-debug.h
|
||||||
|
|
||||||
library_libproc2_la_includedir = $(includedir)/procps/
|
library_libproc2_la_includedir = $(includedir)/libproc2/
|
||||||
library_libproc2_la_include_HEADERS = \
|
library_libproc2_la_include_HEADERS = \
|
||||||
library/include/diskstats.h \
|
library/include/diskstats.h \
|
||||||
library/include/meminfo.h \
|
library/include/meminfo.h \
|
||||||
|
@ -148,7 +148,7 @@ proc expect_spawn_retval { test retval } {
|
|||||||
proc make_pipeproc { } {
|
proc make_pipeproc { } {
|
||||||
global pipeproc_pid pipeproc_spawnid topdir
|
global pipeproc_pid pipeproc_spawnid topdir
|
||||||
|
|
||||||
set testproc_realpath "${topdir}/lib/test_process"
|
set testproc_realpath "${topdir}/src/tests/test_process"
|
||||||
|
|
||||||
set pipeproc_pid [ spawn $testproc_realpath ]
|
set pipeproc_pid [ spawn $testproc_realpath ]
|
||||||
set pipeproc_spawnid $spawn_id
|
set pipeproc_spawnid $spawn_id
|
||||||
@ -157,7 +157,7 @@ proc make_pipeproc { } {
|
|||||||
proc make_testproc { } {
|
proc make_testproc { } {
|
||||||
global testproc_path testproc_comm testproc_arg_str testproc1_pid testproc2_pid topdir
|
global testproc_path testproc_comm testproc_arg_str testproc1_pid testproc2_pid topdir
|
||||||
|
|
||||||
set testproc_realpath "${topdir}/lib/test_process"
|
set testproc_realpath "${topdir}/src/tests/test_process"
|
||||||
set testproc_comm "spcorp"
|
set testproc_comm "spcorp"
|
||||||
|
|
||||||
set testproc_path [ exec mktemp -u ]
|
set testproc_path [ exec mktemp -u ]
|
||||||
@ -189,7 +189,7 @@ proc make_testproc { } {
|
|||||||
proc make_testshm_proc { } {
|
proc make_testshm_proc { } {
|
||||||
global testshmproc_pid testshm_spawnid topdir shmid
|
global testshmproc_pid testshm_spawnid topdir shmid
|
||||||
|
|
||||||
set testshm_realpath "${topdir}/lib/test_shm"
|
set testshm_realpath "${topdir}/src/tests/test_shm"
|
||||||
|
|
||||||
set testshmproc_pid [ spawn $testshm_realpath ]
|
set testshmproc_pid [ spawn $testshm_realpath ]
|
||||||
set testshmproc_spawnid $spawn_id
|
set testshmproc_spawnid $spawn_id
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# Testsuite for lib/fileutils program
|
# Testsuite for lib/fileutils program
|
||||||
#
|
#
|
||||||
|
|
||||||
set noarg "${topdir}lib/test_fileutils"
|
set noarg "${topdir}src/tests/test_fileutils"
|
||||||
|
|
||||||
set test "without argument"
|
set test "without argument"
|
||||||
spawn $noarg
|
spawn $noarg
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
${PWD}/../lib/test_fileutils >&-
|
${PWD}/../src/tests/test_fileutils >&-
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
${PWD}/../lib/test_fileutils > /dev/full
|
${PWD}/../src/tests/test_fileutils > /dev/full
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# Testsuite for lib/strutils program
|
# Testsuite for lib/strutils program
|
||||||
#
|
#
|
||||||
|
|
||||||
set teststr "${topdir}lib/test_strutils"
|
set teststr "${topdir}src/tests/test_strutils"
|
||||||
|
|
||||||
set test "without argument"
|
set test "without argument"
|
||||||
spawn $teststr
|
spawn $teststr
|
||||||
|
Loading…
Reference in New Issue
Block a user