-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
We need a test script to test Postgres
- Either repurpose the existing test suite (usually
Makefilewill have a targettestorcheck) to run within lind-wasm or just write a test script that tests basic functionality of postgres - Each app should have its own shell script
test.sh(lind-wasm-apps/postgres/test.sh, which outputs exit 0 on success, anything else will count as a fail. For now, check for binaries being installed in the correct location, and determine success/failure for that. - Binaries are usually placed in
lindfs/bindirectory (preferably without any extension) - Make sure all paths that the test uses are relative to lindfs and the corresponding files are actually copied to lindfs. To refer a file
/home/lind/lind-wasm/lindfs/tests/postgres/test.txt, please usetests/postgres/test.txt - Test scripts that are copied to
lindfscan be placed inlindfs/tests/postgresfolder
Command to run an app within lind:
lind_run $app
For example, to run/home/lind/lind-wasm/lindfs/bin/bashwith an argument/home/lind/lind-wasm/lindfs/tests/bash/test1.sh, please run
lind_run bin/bash tests/bash/test1.sh
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels