aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_bio.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-11-20 21:09:51 +0000
committerChristian Grothoff <christian@grothoff.org>2009-11-20 21:09:51 +0000
commite1c3a58957ae32dbb14eb9eef8d45aab79dc22b4 (patch)
tree01137688a9c72f60d7e4cb636a7dc02015b21d6a /src/util/test_bio.c
parentef9995ada40d9b45cbab1e528d529b66bd4a754e (diff)
downloadgnunet-e1c3a58957ae32dbb14eb9eef8d45aab79dc22b4.tar.gz
gnunet-e1c3a58957ae32dbb14eb9eef8d45aab79dc22b4.zip
formatting
Diffstat (limited to 'src/util/test_bio.c')
-rw-r--r--src/util/test_bio.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/util/test_bio.c b/src/util/test_bio.c
index 97e59e196..dfd51297e 100644
--- a/src/util/test_bio.c
+++ b/src/util/test_bio.c
@@ -245,7 +245,8 @@ test_nullfile_rw ()
245 GNUNET_log_skip (0, GNUNET_YES); 245 GNUNET_log_skip (0, GNUNET_YES);
246 GNUNET_assert (NULL == fileRNO); 246 GNUNET_assert (NULL == fileRNO);
247 247
248#ifdef LINUX /* is /dev/full present on any other OS than linux, really */ 248#ifdef LINUX
249 /* /dev/full only seems to exist on Linux */
249 fileW = GNUNET_BIO_write_open ("/dev/full"); 250 fileW = GNUNET_BIO_write_open ("/dev/full");
250 GNUNET_assert (NULL != fileW); 251 GNUNET_assert (NULL != fileW);
251 GNUNET_assert (GNUNET_SYSERR == 252 GNUNET_assert (GNUNET_SYSERR ==
@@ -406,4 +407,6 @@ main (int argc, char *argv[])
406 GNUNET_assert (0 == check_metadata_rw ()); 407 GNUNET_assert (0 == check_metadata_rw ());
407 GNUNET_assert (0 == check_string_rw ()); 408 GNUNET_assert (0 == check_string_rw ());
408 return 0; 409 return 0;
409} /* end of main */ 410}
411
412/* end of test_bio.c */