Giter Site home page Giter Site logo

42_minishell_tester's Introduction

42_minishell_tester's People

Contributors

nafuka11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

42_minishell_tester's Issues

[README] exit, promptに使える文字の説明を追加

変更内容

exit, promptに使える文字の説明を追加する。

exit

  • -c オプション有り
    • "exit" はbashと同じく出力しない or stderrに出力
      • ユーザの実装負担を考えると、出力を許容した方がいいと思います。
        → grademe.sh を変更する必要あり。
  • -c オプション無し
    • "exit" はbashと同じくstderrに出力する。

prompt

esc, 可変など, sedで置換できない文字は上手く解釈されない。

[cases] PATH探索のテストケース追加

変更理由

PATH探索のテストケースが不足しているため。
コマンドを正常に実行できる場合のケースが必要。

変更内容

simple_command.txt のPATH探索部分を path.txt に切り出す。
以下のテストケースを追加する。

  • PATH=":dir1"
  • PATH="dir1:"

などのケースでカレントディレクトリを見るか確認する。

  • PATH="dir1:dir2"

で、dir1からdir2を見るか確認する。

[README] 現在の課題には準拠していないと注意書きする

目的

現在の課題では ; がMandatory Partではないため、実装していないとテストできない可能性があるため。

現在の課題には無い機能

  • unclosed quotes, \, ; の解釈(解釈しないでくださいと指定がある)
  • exitの引数
  • FD付きredirect(1>, 2<

現在の課題で追加された機能

  • History機能
  • <<

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.