From owner-soc-status@freebsd.org Mon Jun 12 14:37:00 2017 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59692BFDC62 for ; Mon, 12 Jun 2017 14:37:00 +0000 (UTC) (envelope-from shivanshrai84@gmail.com) Received: from mail-qt0-f169.google.com (mail-qt0-f169.google.com [209.85.216.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1D606719F9; Mon, 12 Jun 2017 14:36:59 +0000 (UTC) (envelope-from shivanshrai84@gmail.com) Received: by mail-qt0-f169.google.com with SMTP id u12so127939920qth.0; Mon, 12 Jun 2017 07:36:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=89nk0N6ZnbdQKD0kWgH5wCKGtkveLXamqBUxcZ6Vvy8=; b=g+RJsTMH/QiNwyq74/7wPE2wu6c0ltye5QGqC3TAUqNYtTeGrLLm5fQPCWydoadHMs 9S+0O2VUfP0FbSGc4e3rC5fS1BP8+sF79g+U87V8UNQDa6toQgjXSPJ+IEoset2iT6Hj cV5hDqkvHgQppTG93CuwdpxyysGkOqrSCtd3VAl3sFSaHYFM3R7JNcDrW+PGx7QSUmkg v+VrQ03159ZmyAY79ZroUiVTrXKjPzHX2haPQaXPeAOW2+nGwMVYBAk9QHUD8UNpA/Lj /fp7Ao4I7kbf4GZ0vb8bW5bsQCnzNA+e/4LXJr2k6h2mthMBLk3he+IdZgypB7mfbQvp Z4VQ== X-Gm-Message-State: AKS2vOyh4QQmcSXKZghpyAmZqcWx3A/Mon8k9gnpqGhwc8LkzS0SZ9Bl dO28m/6ZP8XamF3V X-Received: by 10.55.103.5 with SMTP id b5mr47483724qkc.33.1497278212535; Mon, 12 Jun 2017 07:36:52 -0700 (PDT) Received: from mail-qt0-f169.google.com (mail-qt0-f169.google.com. [209.85.216.169]) by smtp.gmail.com with ESMTPSA id 34sm6614959qtp.17.2017.06.12.07.36.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Jun 2017 07:36:52 -0700 (PDT) Received: by mail-qt0-f169.google.com with SMTP id w1so127583656qtg.2; Mon, 12 Jun 2017 07:36:52 -0700 (PDT) X-Received: by 10.200.52.82 with SMTP id v18mr42252508qtb.214.1497278212042; Mon, 12 Jun 2017 07:36:52 -0700 (PDT) MIME-Version: 1.0 From: Shivansh Rai Date: Mon, 12 Jun 2017 14:36:41 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: [GSOC17] Smoke testing of all base utilities - Week 2 To: "soc-status@freebsd.org" Cc: Alan Somers , Brooks Davis , "Ngie Cooper (yaneurabeya)" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 14:37:00 -0000 Hello all, This is the progress update of week 2 - * Added tests for ln(1) (D11084, D11158) [1][2] Summary - * Verify that when creating a hard link to a symbolic link, '-L' option creates a hard link to the target of the symbolic link * Verify that when creating a hard link to a symbolic link, '-P' option creates a hard link to the symbolic link itself * Verify that if the target file already exists, '-f' option unlinks it so that link may occur * Verify that if the target file or directory is a symbolic link, '-shf' option prevents following the link * Verify that if the target file or directory is a symbolic link, '-snf' option prevents following the link * Verify that '-s' option creates a symbolic link * Verify that '-w' option produces a warning if the source of a symbolic link does not currently exist * Prepared a rough work-plan [3] to be followed to automate the creation of smoke tests. (After some discussion with mentors it seems that this approach requires some more work/thought to be feasible). Suggestions to the work-plan are most welcome and will be appreciated ! * Created a PR which adds the atf_check_not_equal function to atf-sh to check for unequal values [4]. * Made a few updates to the smoketestsuite [5]. [1]: https://reviews.freebsd.org/D11084 [2]: https://reviews.freebsd.org/D11158 [3]: https://shivrai.github.io/assets/tmp/GSoC17Automation.pdf [4]: https://github.com/jmmv/atf/pull/32 [5]: https://github.com/shivrai/smoketestsuite/compare/324e5f87e5c7957420dacf6993feeffb55abf4e7...master Thank you. With best regards, Shivansh Rai