When coreutils is run with ipc grate, errors are seen.
Setup
git pull
sudo make clean
make WITH_FPCAST=1
cd ..
git clone https://github.com/Lind-Project/lind-wasm-apps.git
cd lind-wasm-apps/
git pull
make ed25519
LIND_DYLINK=1 make coreutils
LIND_DYLINK=1 make install-coreutils
LIND_DYLINK=1 make bash
LIND_DYLINK=1 make awk
LIND_DYLINK=1 make perl
LIND_DYLINK=1 make grep
LIND_DYLINK=1 make sed
LIND_DYLINK=1 make diffutils
LIND_DYLINK=1 make install-bash
LIND_DYLINK=1 make install-awk
LIND_DYLINK=1 make install-perl
LIND_DYLINK=1 make install-grep
LIND_DYLINK=1 make install-sed
LIND_DYLINK=1 make install-diffutils
cd /home/lind
git clone https://github.com/Lind-Project/lind-wasm-example-grates.git
cd lind-wasm-example-grates
git pull
make rust/chroot-grate
make rust/ipc-grate
make rust/fs-routing-clamp
make rust/imfs-grate
make c/witness-grate
head -c 32 /dev/urandom > ~/lind-wasm/lindfs/witness.seed
Run the tests
cd /home/lind/lind-wasm-apps/coreutils
git checkout update-coreutils-tests
mkdir eval-output
./run_default_tests.sh --all --grate ipc 2>&1 | tee eval-output/wasm_ipc.log
Following are the tests which hang without grates. So you could put them in a skip list file skip_ipc.txt
ls/capability
ls/color-clear-to-eol
ls/color-dtype-dir
ls/multihardlink
tail-2/pipe-f2
ls/nameless-uid
misc/pwd-long
misc/sum-sysv
misc/date
misc/wc-files0-from
misc/unexpand
Errors seen
The following is seen in a lot of tests
thread '<unnamed>' (16045690984833335023) panicked at /home/lind/.rustup/toolchains/nightly-2026-02-11-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mut_ptr.rs:1495:18:
unsafe precondition(s) violated: ptr::replace requires that the pointer argument is aligned and non-null
This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
stack backtrace:
thread caused non-unwinding panic. aborting.
When coreutils is run with ipc grate, errors are seen.
Setup
Run the tests
Following are the tests which hang without grates. So you could put them in a skip list file
skip_ipc.txtErrors seen
The following is seen in a lot of tests