Giter Club home page Giter Club logo

Comments (7)

mschatten avatar mschatten commented on September 28, 2024

sql: AK_privileges

nakon prvog testiranja ne prolazi 14. test, no nakon svakog idućeg testiranja ne prolaze dodatna 3 testa

Popraviti testove.

from akdb.

mschatten avatar mschatten commented on September 28, 2024

Test 45 privileges ponekad vraća SIGSEGV

Provjeriti (uz debugger) o čemu je riječ i ispraviti pogreške. Nakon otklanjanja SIGSEGV errora analizirati logičku ispravnost implementacije te po potrebi složiti izvještavanje o testu u skladu s uputama na wiki stranici:

https://github.com/mschatten/akdb/wiki/Reporting-Test-Results

Također, bolje dokumentirati funkcije korištene za implementaciju.

from akdb.

mschatten avatar mschatten commented on September 28, 2024

U prvom testu se događa da AK_check_privilege vraća da korisnik user2 nema pravo na UPDATE tablice student

user2 je prije toga dobio pravo na UPDATE nad tablicom student

U drugom prolasku testa se događa da dodavanje korisnika user1 funkcijom AK_user_add ne prolazi

U ponovnim testiranjima se pojavljuju nove greške

from akdb.

mschatten avatar mschatten commented on September 28, 2024

Problem:
AK_revoke_privilege_user( ) – trenutno se ne ispituje u testu 12 zato što test 12 vraća krivi tip

from akdb.

bzitkovic avatar bzitkovic commented on September 28, 2024

Javljam se za rješavanje.

from akdb.

mschatten avatar mschatten commented on September 28, 2024

Dodatne informacije:

Analizom koda datoteke privileges.c možemo vidjeti kako postoji 19 testova, ali u mom slučaju kod pokretanja testa odmah nakon prvog uspješnog testa javlja se SIGSEGV odnosno prilikom testiranja kod je pokušao pristupiti dijelu memorije kojem ne može pristupiti.

Kao što nam i sam program nudi rješenje za poboljšanje nakon izvršenog testiranja, prijedlog za poboljšanje je korištenje AK_free funkcije kako bi se oslobodila memorija sustava.

from akdb.

mschatten avatar mschatten commented on September 28, 2024

Djelomično ispravljeno. Nedostaje rješenje za test 14.

from akdb.

Related Issues (20)

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.