My build of nnn with minor changes
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

40 lignes
1.6 KiB

  1. #!/bin/sh
  2. # Create test files and directories
  3. test -e test && {
  4. echo "Remove test and try again"
  5. exit 1
  6. }
  7. mkdir -p outdir && cd outdir
  8. echo 'It works!' > normal.txt
  9. echo 'Με δουλέβει;' > 'κοινό.txt'
  10. ln -sf normal.txt ln-normal.txt
  11. ln -sf normal.txt ln-normal
  12. mkdir -p normal-dir
  13. ln -sf normal-dir ln-normal-dir
  14. ln -sf nowhere ln-nowhere
  15. mkfifo mk-fifo
  16. touch no-access && chmod 000 no-access
  17. mkdir -p no-access-dir && chmod 000 no-access-dir
  18. ln -sf ../normal.txt normal-dir/ln-normal.txt
  19. ln -sf ../normal.txt normal-dir/ln-normal
  20. echo 'int main(void) { *((char *)0) = 0; }' > ill.c
  21. make ill > /dev/null
  22. echo 'test/ill' > ill.sh
  23. mkdir -p empty-dir
  24. mkdir -p cage
  25. echo 'chmod 000 test/cage' > cage/lock.sh
  26. echo 'chmod 755 test/cage' > cage-unlock.sh
  27. mkdir -p cage/lion
  28. echo 'chmod 000 test/cage' > cage/lion/lock.sh
  29. mkdir -p unicode
  30. touch 'unicode/Malgudi Days - मालगुडी डेज - E05. Swami and Friends - स्वामी और उसके दोस्त (Part 1)'
  31. touch 'unicode/Malgudi Days - मालगुडी डेज - E05. Swami and Friends - स्वामी और उसके दोस्त (Part 2)'
  32. touch 'unicode/Malgudi Days - मालगुडी डेज - E05. Swami and Friends - स्वामी और उसके दोस्त (Part 3)'
  33. chmod +x 'unicode/Malgudi Days - मालगुडी डेज - E05. Swami and Friends - स्वामी और उसके दोस्त (Part 2)'
  34. touch 'unicode/Führer'
  35. touch 'unicode/Eso eso aamar ghare eso ♫ এসো এসো আমার ঘরে এসো ♫ Swagatalakshmi Dasgupta'