Mark test as skipped, rather than as successful
authorWouter Verhelst <w@uter.be>
Mon, 28 May 2012 05:14:15 +0000 (07:14 +0200)
committerWouter Verhelst <w@uter.be>
Mon, 28 May 2012 05:14:15 +0000 (07:14 +0200)
simple_test

index f46d23391214277b55da78aba1aee44928d22144..88adb6dd336c158fefb64ee5cd6b808842aad405 100755 (executable)
@@ -189,9 +189,9 @@ EOF
                # This only works if we built nbd-client, which only exists on
                # Linux. But hey, testing nbd-client itself isn't a bad idea,
                # so here goes.
-               if [ ! -x ./nbd-client ]
+               if [ uname -s != "Linux" ]
                then
-                       retval=0
+                       retval=77
                else
                        cat >${conffile} <<EOF
 [generic]