| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | # test if ilist deletion is handled gracefully |
| 3 | # 0.9 used to hang if pthread was used and ilist was not available. |
| 4 | set -ex |
| 5 | |
| 6 | TESTDIR=$(mktempscip-shell system . . mktemp. -d ) |
| 7 | ( |
| 8 | cd ${TESTDIR} |
| 9 | mkdirscip-shell system . . mkdir. 1/ |
| 10 | # make a few files for testing. |
| 11 | touchscip-shell system . . touch. 1/a 1/b 1/c 1/d |
| 12 | cpscip-shell system . . cp. -al 1 2 |
| 13 | ddscip-shell system . . dd. if=/dev/zeroscip-shell filesystem . . `/dev/zero`. of=1/e bs=512 count=2 |
| 14 | |
| 15 | cow-shell 015_test_ilistdelete |
| 16 | ) |
| 17 | RET=$? |
| 18 | rmscip-shell system . . rm. -rf ${TESTDIR} |
| 19 | |
| 20 | exit $RET |