Ver código fonte

Spawn a program that segfaults for testing

master
lostd 10 anos atrás
pai
commit
892c7c850a
1 arquivos alterados com 3 adições e 0 exclusões
  1. +3
    -0
      mktest.sh

+ 3
- 0
mktest.sh Ver arquivo

@@ -20,3 +20,6 @@ mkfifo mk-fifo
touch no-access && chmod 000 no-access
ln -s ../normal.txt normal-dir/ln-normal.txt
ln -s ../normal.txt normal-dir/ln-normal
echo 'int main(void) { *((char *)0) = 0; }' > ill.c
make ill > /dev/null
echo 'test/ill' > ill.sh

Carregando…
Cancelar
Salvar