Run coreutils with chroot grate and get the results
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
Following are the tests which hang without grates. So you could put them in a skip list file skip_chroot.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
Run the tests
cd /home/lind/lind-wasm-apps/coreutils
git checkout update-coreutils-tests
mkdir eval-output
./run_default_tests.sh --all --grate chroot 2>&1 | tee eval-output/wasm_chroot.log
Run coreutils with chroot grate and get the results
Setup
Run the tests
Following are the tests which hang without grates. So you could put them in a skip list file
skip_chroot.txtRun the tests